Upgrade to RN0.25
Closed this issue · 4 comments
rturk commented
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
rogchap commented
@rturk See #18 (comment)
rogchap commented
If you need to use this today you should be able to reference your dependency to Github and not the NPM Registry as I've published the latest to master:
"dependencies": {
"react-native-card-io": "kayla-tech/react-native-card-io"
}
rogchap commented
Finally managed to publish 1.0.5 to NPM Registry.