So throughout this module, we had a look at a lot of important basics you have to know when working with
React Native. You learned about these core components which you import from React Native and that you
only can work with these core components,
you can build your own components but these components then in turn also have to be based on these
built-in core components or on other custom components which then are based on these core components.
That is really crucial, you have to use these core components and you can style these core components
with the help of inline styles or a stylesheet as we're doing it here. In the end, all the styling of
course happens with Javascript because that's all just Javascript code here,
it's a Javascript object in the end to which we're then pointing here when we're assigning a style
and in general, you control your entire UI with Javascript.
This part here, the view,
so the elements you're building here,
this is the part which React Native will compile to native code,
this part up here, your other Javascript code,
that will stay Javascript code, that will not be compiled,
instead that will run in this virtual machine which I showed you in section one of this course and will
then talk to the native code through a special bridge set up by React Native. Now and other than that,
we used normal React features.
We're using props to pass data around, we're using state here with useState, the useState hook to use functional
components only. You could have converted this to a class-based component to use set state there and
useState in there as you probably learned it about class based components
but I want to use this very modern React syntax and hence I use React hooks
and with that, we got the basics set.
Now of course besides the official docs which are always worth a look if you want to learn more about
a specific component, we'll dive much deeper into these components we use here, into styling and in the
next section, we'll also have a look at how you can debug an such application before we then build a different
app, a more beautiful app already where we then dive also into questions like how you can adjust your
app to different device sizes, how you can style your widgets, your components in a bit of a nicer way
and also how you can adjust your styles or your layout to the different platforms,
so iOS for Android, you're running on.