This week we were assigned a project by our mentor Arsalan Khattak. In which we have to work in team. Project was to create the login, register, and home page of the website. And for login and register, we have to use the local storage to save the user data.
Start of React.js
We studied the folder structure of react. Then we learned how to use function-based and class-based approaches to write our code. Mostly function-based approaches are used because it is faster as its syntax is easy with less code as compared to class-based approaches.
Introduction with npm and yarn package manager
We also study a little bit about the JSX syntax in react. Then we learned to use npm & yarn which is a package manager which includes the codes with predefined libraries. we created a react default project using this npm package manager.