Week 2 of learning Next.js — getting deeper into how modern full-stack apps actually work. This week, I focused on Next.js Essentials (App Router) and built a project alongside the course. Here’s what I worked on: • File-based routing and dynamic routes • Pages, layouts, and project organization • React Server Components vs Client Components • Navigation and performance improvements • Image optimization using Next.js Image On the backend/full-stack side: • Setting up a SQLite database • Fetching and rendering dynamic data • Server Actions for handling form submissions • Input validation and basic XSS protection • Managing form state (useFormState, useFormStatus) • Handling loading states, errors, and not-found pages • Caching and revalidation Project built: Foodies App • Dynamic meal pages • Image uploads • Form handling with server actions • Database integration GitHub: https://lnkd.in/dgSKwPS7 Big takeaway this week: Next.js isn’t just about React — it brings backend and frontend together in a very structured way. Still learning, still building. #nextjs #reactjs #fullstackdeveloper #webdevelopment #learninginpublic #mern #developers
More Relevant Posts
-
🚀 Everyone is talking about state management in React… From Zustand to Redux Toolkit, modern tools are everywhere. But here’s something I realized while learning React 👇 👉 If your basics are weak, even the best tools won’t help. That’s where Context API comes in. Before jumping into advanced libraries, understanding Context API can make everything much easier. Here are a few basics every React developer should know: 🔹 What is a Provider? It’s a component that allows you to share state globally across your app. 🔹 Common Hooks used with Context API: useContext → Access global state useState → Manage local state useEffect → Handle side effects (like syncing data) 🔹 Context API + Local Storage 💡 You can combine Context API with localStorage to persist data like: User authentication Theme preferences App settings This helps you build more practical and real-world applications. 💭 My takeaway: Modern tools are powerful, but strong fundamentals make you a better developer. What do you prefer for state management in React — Zustand, RTK, or Context API? #ReactJS #WebDevelopment #Frontend #LearningInPublic #SoftwareEngineering
To view or add a comment, sign in
-
🎬 Movie Explorer App Built with React GitHub: https://lnkd.in/dYdhzM8b I recently built a Movie Explorer App using HTML, CSS, and React that allows users to easily search for and explore movies. 🔹 The app integrates the OMDb API to fetch real-time movie data. 🔹 On first load, the application displays a variety of movies automatically. 🔹 Users can search for movies using the search bar. 🔹 Each movie has a Details button that navigates to a separate page using routing to show more information about the selected movie. This project helped me practice: ✅ Working with external APIs ✅ React components and state management ✅ Routing for multi-page navigation ✅ Building responsive UIs with HTML & CSS Always learning and building! 💻🚀 Check out the project on GitHub #ReactJS #MERNStack #WebDevelopment #FrontendDevelopment #HTML #CSS #JavaScript #ReactDeveloper #APIs #FullStackDeveloper #NodeJS #ExpressJS #MongoDB #Frontend #CodingJourney #SoftwareDevelopment #DeveloperLife #LearnToCode #TechProjects #OpenToWork #BuildInPublic #100DaysOfCode
To view or add a comment, sign in
-
🚀 Day 9 of My React Learning Journey: React Router & Navigation Today I learned how to handle navigation in React using React Router 👇 🔹 What is React Router? React Router is a library used to handle routing in React applications. It allows navigation between different pages without reloading the browser. 🔹 What is Navigation? Navigation means moving between different pages or components in an application using links. ⚔️ React Router vs Navigation React RouterNavigationLibrary for routingAction of moving between pagesUses components like BrowserRouter, RouteUses links like <Link>Enables SPA behaviorImproves user experienceHandles URL-based routingSwitches UI without reload🔹 Simple Example (Using Both Concepts) import { BrowserRouter, Routes, Route, Link } from "react-router-dom"; function Home() { return <h1>Home Page 🏠</h1>; } function About() { return <h1>About Page ℹ️</h1>; } function App() { return ( <BrowserRouter> <nav> <Link to="/">Home</Link> |{" "} <Link to="/about">About</Link> </nav> <Routes> <Route path="/" element={<Home />} /> <Route path="/about" element={<About />} /> </Routes> </BrowserRouter> ); } export default App; 💡 My Takeaway: React Router helps build single-page applications by enabling smooth navigation without page reloads. 📌 Next, I’ll be learning about API Calls in React! 👉 Follow my journey as I learn React step by step 🚀 #React #JavaScript #ReactRouter #Frontend #WebDevelopment #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
-
🚀 Built My First Weather App — Small Project, Big Learning I recently completed my Weather App using HTML, CSS, and JavaScript and deployed it using GitHub Pages. While a weather app might be a common beginner project, this one helped me learn a lot of fundamental frontend concepts, including: - Working with APIs (Fetch & Async/Await) - DOM manipulation - Handling user input & events - Error handling & loading states - Deploying projects using GitHub Pages - Using Git & GitHub workflow (commit → push → deploy) This project was also a great step in my journey toward becoming a MERN Stack Developer. Sometimes it's not about building something complex — it's about building something and learning deeply from it. 🔗 Live Demo: https://lnkd.in/gztmpFzB 🔗 GitHub Repo: https://lnkd.in/gxs_-K6b Excited to keep building and learning more 🚀 #WebDevelopment #FrontendDevelopment #JavaScript #HTML #CSS #GitHub #LearningInPublic #MERNStack #BeginnerProjects
To view or add a comment, sign in
-
-
Day 4 of building DevConnect 🚀 Today I worked on creating the user profile section of the app using React, TypeScript, Tailwind CSS, React Router, and Firebase. What I built today: User profile page UI. Dynamic routing for profile pages. Profile data fetching based on user id. Edit profile flow for bio, skills, and GitHub username. Conditional UI so only the logged-in user can edit their own profile. One small bug I faced today was GitHub username showing as undefined, and I learned that even a small field-name mismatch like githubUserName vs githubUsername can break the data flow. Debugging these issues is helping me understand React and Firebase much better. Slowly, this project is teaching me that real development is not only about writing UI code — it is also about routing, auth logic, state management, and fixing mistakes patiently. Learning in public, building step by step. #BuildInPublic #ReactJS #TypeScript #TailwindCSS #Firebase #FrontendDevelopment #WebDevelopment #DevConnect
To view or add a comment, sign in
-
While working with Next.js, I found myself quite confused at one point — should I focus on the App Router or the Pages Router? After spending some time exploring both, I wanted to share my thoughts. If you’re in the learning phase like me, this might help 👨💻 The difference between these two isn’t just about folder structure — it’s a shift in how things actually work: 🔹 Pages Router (Traditional approach): This is based on the pages folder and has been around for years. Because of that, there are tons of tutorials and resources available. When I first started, I got comfortable with this approach. However, I often found data fetching and layout management a bit tricky. 🔹 App Router (Modern approach): Introduced in Next.js 13, this system really surprised me in a good way: * Server Components: Everything is rendered on the server by default, which makes the app super fast. * Simplified Layouts: The layout.js file makes life much easier — no need to repeatedly set up navbars or footers. * Improved Data Fetching: No more getStaticProps. You can fetch data directly inside components, which feels especially smooth when working with databases like MongoDB or Mongoose. 💡 My takeaway: At first, the App Router felt a bit overwhelming. But once I started understanding the logic behind it, it became clear that this is the future. Now, I’m trying to use the App Router in my new projects — even though I still stumble sometimes, and that’s part of the learning process! If you’re working with Next.js — which one felt more comfortable to you in the beginning? And which one would you recommend now? Would love to hear your thoughts 👇 #NextJS #LearningInPublic #WebDevelopment #Frontend #React #CodingJourney #SoftwareEngineering #NextJSAppRouter
To view or add a comment, sign in
-
-
What is NestJS and why should you care? When working with Node.js, you get a lot of freedom. But as your project grows, that freedom can turn into messy and hard-to-manage code. 👉 This is where NestJS helps. NestJS is a framework for building backend applications in Node.js. It uses TypeScript and gives your project a clear and organized structure from the start. 💡 Why do developers like NestJS? ✔️ Clean structure It helps you organize your code properly so your project doesn’t become confusing over time. ✔️ Simple building blocks Controllers → handle requests Services → contain logic Modules → group related features. ✔️ Easy to test With built-in dependency injection, you can easily test different parts of your app. ✔️ Scales well You can start small and grow your app without rewriting everything. ✔️ Useful tools included It supports things like databases, authentication, APIs, and more without much setup. 🎯 In short: NestJS helps you write clean, organized, and scalable backend code without the usual headaches. Have you tried NestJS? What do you think about it? #NodeJS #NestJS #Backend #WebDevelopment #Programming
To view or add a comment, sign in
-
🚀 Starting My React Learning Journey This week I started Phase 2 of my MERN roadmap — React development. Instead of jumping straight into libraries or complex features, I'm focusing on understanding how React actually works under the hood. Two important ideas clicked for me in the first two days. 🧠 1. UI = Function of State In traditional JavaScript, we often manipulate the DOM manually. But React takes a different approach. When state changes → React re-runs the component → the UI updates automatically. This shifted my thinking from: “How do I update the DOM?” to “What state should the UI represent?” 🧩 2. React Apps Are Built as Component Trees Rather than writing one large UI file, React encourages breaking interfaces into small reusable components. Example structure: App ├ Header ├ NotesList │ └ NoteCard └ Footer Each component has a single responsibility, which makes applications easier to maintain and scale. For now I'm focusing on building a strong mental model of React before moving forward. Next step in my roadmap: JSX and Props. #React #WebDevelopment #MERNStack #LearningInPublic
To view or add a comment, sign in
-
-
🚀 Day 73 of My MERN Stack Journey with Love Babbar Code Help Today, I focused on understanding when to use the useRef Hook in React ⚛️ 📚 What I learned: 1.What useRef is and how it works 2.Storing mutable values without causing re-renders 3.Accessing and manipulating DOM elements directly 4.Persisting values across renders 5.Difference between useRef and useState 💡 Key takeaway: Use useRef when you need to keep track of values or interact with the DOM without triggering a re-render — making your app more efficient. Every day brings new clarity and deeper understanding. Onwards and upwards 🚀 #MERNStack #ReactJS #useRef #WebDevelopment #100DaysOfCode #LearningJourney
To view or add a comment, sign in
-
-
Hey LinkedIn Family 👋 A JavaScript/React lesson that improved how I manage state: 🚀 Choosing the right tool matters: Context API vs Redux Toolkit vs Zustand Earlier, I thought one solution should handle everything. Now I choose based on project size and complexity. 1️⃣ Context API Best for: ✅ Theme ✅ Auth user info ✅ Language settings ✅ Small global state const ThemeContext = createContext(); Use when state is simple and doesn’t change frequently. 2️⃣ Redux Toolkit Best for: ✅ Large apps ✅ Complex business logic ✅ Async APIs ✅ Predictable state updates const store = configureStore({ reducer: { user: userReducer, }, }); Great for scalable production apps. 3️⃣ Zustand Best for: ✅ Medium apps ✅ Cleaner syntax ✅ Fast setup ✅ Less boilerplate const useStore = create((set) => ({ count: 0, inc: () => set((state) => ({ count: state.count + 1 })), })); Simple and powerful. My Rule of Thumb 👇 📌 Small app → Context 📌 Medium app → Zustand 📌 Large scalable app → Redux Toolkit Biggest Lesson: The best state management tool is not the most popular one… It’s the one that matches your project needs. What do you prefer using these days? 👇 #JavaScript #ReactJS #ReactNative #Redux #Zustand #WebDevelopment #Programming #SoftwareEngineering
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
I need some advice. I’m already familiar with the MERN stack, so why should I choose Next.js? What problems does it solve, and what other options do I have? Is learning it a waste of time? Does Next.js even matter for someone like me who has also worked with Ruby on Rails or Django?