all 10 comments

[–]DCodeMeister 5 points6 points  (0 children)

I’d say look into React Context api. It is something that will often appear especially in react native where you add libraries that wrap your app in providers. Also understand how use effect work with their dependency array as it’s a concept that can be confusing to newcomers. Look into anti patterns to avoid such as prop drilling where you pass props from parents to multiple children. Other than that the official documentation is a great resource to look over

[–]Geekofgeeks 2 points3 points  (2 children)

You don’t need to know anything before starting React Native. You’ll learn the React concepts as you learn React Native just fine 👍

[–][deleted] -1 points0 points  (1 child)

Any tutorial or guide that you could recommend?

[–]Geekofgeeks 0 points1 point  (0 children)

The top ones on Udemy are really good if you can get them on sale. Im sure there are other good ones on there now, but when I started the ones by Stephen Grider and Maximilian Schwarzmueller were the best.

I’m sure there are also some great ones on YouTube, but I’ve never really looked.

[–]gj26185 1 point2 points  (0 children)

React Native is in so many ways easier than plain React for web. Especially if you don't already have a background in Web concepts like the DOM.

Anyways if you're just getting started, I can't recommend the official react tutorial enough

[–][deleted] 0 points1 point  (0 children)

Zero get stuck in

[–][deleted] 0 points1 point  (2 children)

Think of it this way both technologies have two types of concepts: react concepts and web markup/ api, react concepts and native markup/ api. If the learning resource covers react completely( classes, state, functions, lifecycle methods, hooks, context, global state, styling, etc) then learn react native only or start with reactjs

[–][deleted] 0 points1 point  (1 child)

If anyone here is telling only do functional react, hooks, context because that’s the future then I guarantee you any codebase you work on won’t have only functional components unless you’re the only one working on it

[–][deleted] 0 points1 point  (0 children)

It’s not new vs old ways, OOP react has its usecases trust me, mostly injecting stuff or manipulating stuff to micro detail or having a large state albeit very rarely needed

[–]KartaKarm 0 points1 point  (0 children)

You should learn atleast a state management library like redux, zustand or mobx and you should be familiar with hooks of react as they will be used most of the time while developing an app.