React.js and React Native

I read all of react-native's documents and now I'm reading all of Reacts documents.

So does all of the underlying functions of React in their documents live in and are available in React Native?

With the exception of ReactDOM.render() vs ... well whatever equivalent for React Native is for this and other functions that are platform specific

For instance can I rely on the methods in this document

https://facebook.github.io/react/docs/working-with-the-browser.html#component-lifecycle

To be the same in React Native?

I'm just having trouble separating what's for what

Any help would be appreciated

Yes you can use same lefe cycle methods also in react-native. As you've mentioned, only difference between them is view components.

There is a lot of differences between ReactJS and React Native, one is a library and the other is a framework.

So, You should not use the React documentation to create your ReactNative app, ReactNative has it's own documentation.

I suggest you to read this article about the differences. =D

Comments

Popular posts from this blog

Meaning of `{}` for return expression

Get current scroll position of ScrollView in React Native

flutter websocket connection issue