You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.
Correct me if I am wrong but having a separate react-native library is not necessary since React Native now relies on React directly for its Component(CreateClass) API.
I only came to this conclusion when starting a project with the React Native version and got the below error when running tests. I have not looked at the internals as of yet, but assume the React Native library is looking for things that are no longer available in newer versions of React Native.
Currently using 0.39.2
Seems you're trying to access 'ReactNative.createClass' from the 'react-native' package. Perhaps you meant to access 'React.createClass' from the 'react' package instead? For example, instead of: import React, { Component, View } from 'react-native'; You should now do: import React, { Component } from 'react'; import { View } from 'react-native'; Check the release notes on how to upgrade your code - https://github.com/facebook/react-native/releases/tag/v0.25.1
The text was updated successfully, but these errors were encountered:
bdougie
changed the title
Is react-transmit-native depricated?
Is react-transmit-native deprecated?
Jan 9, 2017
Just discovered that an unrelated dependency I used for testing, react-native-mock, actually helps react-transmit proper work with react-native.
Since react-transmit-native no longer works with newer versions of react-native. react-transmit needs react-dom, which is where react-native-mock comes in.
As an aside: I have been using this project as a basis for a talk I have given at local meetups and would love to continue to do so at a future conference. If there is anything I can assist with with, I would love to help out to keep this project going. I might poke around to more fo the source and see if I can commit to updating the DOCS.md
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What is this?
Correct me if I am wrong but having a separate react-native library is not necessary since React Native now relies on React directly for its Component(CreateClass) API.
I only came to this conclusion when starting a project with the React Native version and got the below error when running tests. I have not looked at the internals as of yet, but assume the React Native library is looking for things that are no longer available in newer versions of React Native.
Currently using 0.39.2
The text was updated successfully, but these errors were encountered: