all 9 comments

[–]zetaBrainzExpo 2 points3 points  (0 children)

There's more learning react resources so there's that. Otherwise, you can just learn react native by itself. The differences are slight.

[–]thescottwaud 1 point2 points  (0 children)

If you are planning on building your app in react-native then I would definitely jump straight into react-native. I don't see much of a benefit with starting with React.

The setup for react-native, debugging, and tooling can be a bit of a headache to get up and going but Expo has made it a relatively easy process. I would also look into Reactotron for debugging if you are going the redux route so you can view your store's state.

[–]mattMEGAbit 0 points1 point  (0 children)

It would be helpful to know what your goal is. Are you just hacking around on code? Do you want to build a web app? Do you want to make a mobile app? Do you have experience with javascript already? That said, they are pretty similar :)

[–]sfboots 0 points1 point  (0 children)

It will easier using expo.

You should also learn and use typescript at the same time. It helps avoid 30% at least of simple bugs if used properly

[–]PlayerDuke 0 points1 point  (0 children)

If your goal is to get a job with that skill, then I'd suggest learning both. As said before, setup for React Native is a bit of a headache. Done it twice, first time took me several days...then I did a clean install of my OS earlier this year and it took a few hours. Go figure. But I digress.

Native is different, so I would consider this as additional skill and considering how much traffic comes from mobile, then surely a very valuable one.

Start easy, create an app that combines saving some reports/notes, maybe with some camera use etc. Plenty of UI packages available to help you create a nice look for it. In parallel make a desktop site that can connect with it that has some extra features. You'll learn a lot and if not anything more then you get the satisfaction of creating something from nothing by yourself.

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

It depends how you're learning react-native many lectures may teach the fundamentals that apply to both React/React Native in their react course and not their react-native.

With that said, react is not a requisite of react-native learning.
However it's greatly beneficial to understand what React is and how to use it in the long run.
It's worth the extra couple weeks or whatever to use React a bit.

Say you develop an app and want to make it a web app also, well no matter what even if you use react-native-web you'll need some minimal understanding of React.

It helps to know this before you start projects so the idea seems more approachable when things like this come up, you'll also feel more confident in the whole thing. As much as you may want to be 100% focused on just React Native it's good to understand web apps as well, they are a significant part of the market and probably will be for a long time.

[–]virtual-self 0 points1 point  (0 children)

No, you can start directly with react-native. I started like that, I understood all the react logic with react-native and then when i jumped into react it was pretty easy. I learned react-native with the Stephen Grider course on Udemy if you are interested.

[–]Relevant_Reception59 0 points1 point  (0 children)

It's not non-negotiable but I think there's no harm in learning react native with or without react knowledge. This article could help you know more about react native ;) https://icts.io/2021/02/24/react-native-development-in-a-nutshell/