DAY 15 OF MY BACKEND JOURNEY
Today, I officially stepped into the frontend side of the MERN stack… and yeah, I’m actually excited about this one🤭💃
Started React today!
After spending weeks dealing with APIs, requests, and backend logic, it feels different finally seeing things come alive on the screen.
Learning with
@Nannoyapp
WHAT I LEARNED:
■ I understood how "React" thinks in components. Everything is a tree, from the main App down to smaller reusable parts like Header, Greeting, and Footer. Each one handles its own piece of the UI.
■ I wrote my first functional component and realized "React" is literally just JavaScript functions returning UI. Simple, but powerful.
■ JSX finally made sense, looks like HTML, but it’s not. Learned the rules: one parent element, closing tags properly, using className instead of class, and embedding JavaScript with {}.
■ I built and rendered my first component (Greeting) and passed dynamic data into it. Seeing "Hello, Elon Musk!, Hello, PamPam"!show up on my page? Yeah… that felt good 😂 Lol.
■ I scaffolded a "React" app using Vite, and I get the hype now. The dev server starts almost instantly, and HMR updates hit the browser in milliseconds. No refresh, just smooth workflow.
■ I learned how to import and reuse components inside App.jsx, structuring my UI properly instead of dumping everything in one file.
WHAT I BUILT:
● A simple React app with a Header, Greeting, and Footer component all working together
● Ran it locally and watched changes update in real time.
This feels like the missing piece.
Backend handles the logic.
React brings it to life.