In the last lecture, I introduced you to Gatsbyjs
and I called it an amazing project,
it is.
If that was amazing,
react native was just mind blowing.
React native, if you google for it you'll find the official page on
github is another project created by Facebook. React native essentially is react
but for mobile apps
and with that, I mean native apps, native iOS s or Android apps. With reactjs taught in this course,
you of course learned how to build web apps with javascript,
with react native,
you use javascript and react and another library, react native to build mobile apps. You still write
javascript code
but then react native will compile that to code that runs on iOS or Android devices,
it does so by exposing some building blocks to you like this view component which is your alternative
to a div.
Divs only work in web browsers of course,
now the view behind the scenes is an element, an element running on iOS or Android.
That's the idea behind react native,
you write native code but with javascript that gets compiled and with the same react logic you learned
in this code.
So you still need to learn some new things when diving into react native because of all these new components
and some other things that change but it's still extremely simple to get started.
There even is a create react app alternative for react native,
it's called create react native app, so very close to the name I guess.
Definitely feel free to dive into react native, dive into docs, use that create react native app too
and feel free to take your react knowledge to start building native apps with it,
it takes some adjustments, it takes some new things to learn but it's an amazing opportunity to build
real native apps and not just web apps.
Now that's not necessarily better
but if you want to get into native app development, with that you've got a chance of doing so without
learning Android or Swift Objective-C first.