2

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

So do 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

2 Answers 2

4

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

Sign up to request clarification or add additional context in comments.

Comments

3

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.