Coty Embry Coty Embry - 1 year ago 105
Javascript Question

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

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download