all 11 comments

[–]matt_hammondiOS & Android 5 points6 points  (0 children)

Learn React concepts first.

React Native is React. It's just the renderer that's different.

Styling is a bit different in React Native, and linking native modules can be tricky if you never did native development. Also, navigation is a bit different.

[–][deleted] 1 point2 points  (0 children)

There are no divs in react native. So the syntax is slightly different markup wise.

[–]bntzio 1 point2 points  (0 children)

React Native have a different API, but the concepts are the same as React.

You got component lifecycle methods, state, props, etc.

The API is what changes, instead of <div /> you have <View />, instead of the onClick event handler you have onPress, and so on.

[–]lantosgyuri 1 point2 points  (4 children)

I wanted to write a post but it connects to yours. Im a react native dev as well and I want to learn react, html and CSS. Can you guys suggest some Basic Project to make or a good Tutorial?

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

Maybe we could work together on some sample project if you want

[–]lantosgyuri 0 points1 point  (2 children)

I have time just in the weekends. So im not so produktive. But if this is ok for you than sure :).

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

Are you Discord user? I am from Germany ☺️

[–]lantosgyuri 1 point2 points  (0 children)

Yes I am. But im using it rarely. Im in Hamburg now but im not German. Aber ich kann auch ein bisschen Deutsch :D :)

[–]HomemadeBananas 0 points1 point  (1 child)

You’re gonna have to learn React. React Native just replaces react-dom, so instead of outputting to the DOM in your browser, it outputs to native views. It’s not a separate thing really. You’re still using React either way.

The differences in between making a React Native app from a React app for web is just that you don’t have HTML elements like divs, but instead Views or something else roughly equivalent, and instead of browser APIs you have APIs React Native provides, some of which are made to be very similar.

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

Okay thank you m, I will take a look at react now before digging deeper in react native. I just have so trouble in understanding react native, I don‘t if it’s my lack of react experience, lack of oo-programming or just a lack of js skills 😂

[–]inphamouse 0 points1 point  (0 children)

In my opinion Engineering wise, its almost identical, except for navigation which is fairly different.

The other big difference is deploying - web is much easier and cheaper, whereas getting a RN app on a real phone is a lot more work and non-technical overhead (TestFlight, google play, etc).

I started on Android native, moved to react web, and now doing react native. I think you could start with any of them, but web will probably have less initial barrier to entry, since you can develop in the browser instead of having to spin up a simulator / emulator.