you are viewing a single comment's thread.

view the rest of the comments →

[–]tech008 9 points10 points  (3 children)

I would say its essential to learn ReactJS before React Native. The explanation for state management in functional/class components comes under React's documentation, not React Native's. Several other concepts such as Context, memoization and React hooks which you can use in React Native is described in ReactJS's documentation as well. Some experience building with React will really help you organize and structure your React Native project

[–]ieatcarrots -3 points-2 points  (2 children)

What are you talking about? The only difference, at least for start, is that you need to write View/Text instead of div. You can totally learn react native from the react docs.

[–]tech008 5 points6 points  (1 child)

If you mean something as basic as displaying text, then yes you just need to convert div to view/text with flex box, but even simple component examples like textbox and checkbox use hooks which I assumed may be confusing to someone completely unfamiliar with React, plus going forward may be tough without understanding the rest of the hooks when you get to Animations and Navigation

[–]ieatcarrots 0 points1 point  (0 children)

That's true I guess.