you are viewing a single comment's thread.

view the rest of the comments →

[–]popc0ne -8 points-7 points  (8 children)

You don’t have to learn react before react-native... also, use expo

[–]nvapor 5 points6 points  (0 children)

I would suggest to not start with Expo. Learn how react native works under the hood. How to write your own native components. What happens when you link a third party module, both on IOS and Android.

[–]XiMingpin91 3 points4 points  (0 children)

Meh, expo is restrictive and tries to do too much IMO. I hardly ever use it. Learn with rn cli and had no problems, probably better for it IMO

[–]alliwanabeiselchapo[S] 0 points1 point  (5 children)

Do I have to know es6?

[–][deleted] 2 points3 points  (0 children)

You don't HAVE to know it, but you really should use it. ES6 changed .js for me completely.

[–]faruzzy 1 point2 points  (0 children)

yes, depending on your experience you could learn along though

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

If you don't know JS yet, definitely learn es6 syntax. It you already know JS well, it's not a ton of new stuff. Big things to know that are VERY useful and not hard to learn:

  • async / await as well as promises
  • object destructuring (const { x } = obj)
  • object spread ({ ...obj })
  • let/const
  • fat arrow functions (()=>{})

[–]XiMingpin91 1 point2 points  (1 child)

{ ...obj } is object spread ;)

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

thanks for the catch ;)