Hi guys, I almost couldnโt show up today, cus guess what.. Iโm just waking up from sleep ๐คฆ๐ฝโโ๏ธ๐ , but regardless..
It's Day 2 of my React journey, and today I dove deeper into what are known as React components..
I discovered that components are the building blocks of a React application. They allow you to break your UI into smaller, reusable pieces, making your code cleaner, easier to manage, and more scalable.
To put what I learned into practice, I created Home, About, and Contact components ( just for this tutorial) Instead of writing everything in a single file, I separated each page into its own component, which made the project much more organized and easier to maintain.
I also learned about React Props and that theyโre used to pass data from one component to another, especially from a parent component to a child component.
This makes components reusable because you can pass different values to the same component instead of rewriting it multiple times.
Not bad for Day 2 ๐. Looking forward to learning even more tomorrow.