Summary
In this chapter, we started learning about our Expo's basic file structure and how all those files are connected, how App.js
is the main entry point into our application, and which function is getting called at startup. After that, we delved into the main concepts of JSX, explaining and comparing JSX to other markup languages and understanding that JSX is more of an extension of JavaScript.
We left the theory aside and started importing our first component while talking about npm and how we will use it in the future when creating more complex applications. We imported the core components of React Native and explained them all. Using them felt comfortable and pretty easy, so we figured, why not create a component? After we created a component, we learned more about file structure and how to index all of our components into a single file, which helped us clean our code even more.
In the next chapter, we'll study the correct mindset of a React/React Native developer and understand how to think in React. This is going to help us greatly because it will save us time when we're starting a new project. If the planning is correct from the start, we won't have any problems building the project.