-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Starting in RN 25 React Native import wil change:
Requiring React API from react-native will be deprecated:
https://github.com/facebook/react-native/releases/tag/v0.25.1
Instead of:
import React, { Component, View } from 'react-native';
you should now:
import React, { Component } from 'react';
import { View } from 'react-native';
You can also try this codemod built by the community to automatically rewrite all the imports.
https://github.com/sibeliusseraphini/codemod-RN24-to-RN25
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels