DEV Community

Discussion on: What should I learn, React Js or React Native?

Collapse
 
lukasderksen profile image
Lukas Derksen • Edited

You should look into Progressive Web Apps (PWA). They'll give you the possibility to have all three (mobile webpage, desktop webpage, mobile app) in one. In fact, dev.to is a PWA. You can add it to your homescreen, so that when you open it like that it will look and feel like a native app.

It also has the advantage of not relying on app stores. People can just "install" them from the browser.

Furthermore, to answer your question, I would learn Reactjs. The techniques are largely the same, so if you know one of them by heart, you'll be able to work with the other one as well. The reason I'm suggesting ReactJS is because it's easier to set up the environment IMO.

Collapse
 
yiannistaos profile image
Yiannis Christodoulou

Thanks for your suggestion about PWA. I've just found the course "Progressive Web Apps - The Concise PWA Masterclass" in udemy. Do you have any other recommendations?

Collapse
 
seanmclem profile image
Seanmclem

Also since the react CLI, create-react-app, generates a PWA by default. You're most of the way there just by running one command.
github.com/facebook/create-react-a...

Collapse
 
laviku profile image
Lavinia

Hey Lukas, I'm actually learning about PWA and I was wondering if I was losing my time, but now I know I'm on a right path

Collapse
 
lukasderksen profile image
Lukas Derksen

I honestly think PWA will gain ground in the coming years. I can't think of any real reasons to choose native app development over PWA development. By now it has nearly all the possibilities of native apps and none of the hassle of getting them on the stores.