That's it for this module and also for this app now.
You learned a lot about React Native in general, how to work with components there and in this module,
you learned a lot about adjusting your user interface to different device sizes, width and height.
You learned how to dynamically calculate values if you need to, based on the available width and height
and you also learned how you can actually also make sure that you don't lock in your width or height
when your app first renders but that you useState and useEffect and dimensions add event listener to
re-evaluate and recalculate your dimensions when the orientation changes for example, which is of course
a crucial feature.
We also had a look at platform-specific code, for example by using platform specific files or in most
cases, by using the platform API which you can then use with platform select with if checks or with ternary
expressions as we're doing it here to render different styles, lay things out differently or render differentiates
jsx code based on the platform you're running on.
And with that you have all the tools you need to build applications with one codebase where you still
have a couple of if checks in there for different platforms or different sizes, to have a project where
you work in one project only, in one codebase but where you are still flexible enough to render different
layouts, different styles based on the device size and based on the platform you're targeting.