📅 Day 1 – React Basics & Virtual DOM

Core Concepts: What React is, why it exists, how it works internally.

Objective: Understand the “why” behind React.

  1. What is React, and why was it created?

    ➤ Follow-ups:

  2. What is the Virtual DOM?

    ➤ Follow-ups:

  3. What is Reconciliation in React?

    ➤ Follow-ups:

  4. Explain how React updates the UI after a state change.

    ➤ Follow-ups:

  5. Output-based:

    function App() {
      console.log("Rendered");
      return <h1>Hello</h1>;
    }
    export default App;
    
    

    ➤ Follow-ups:


📅 Day 2 – Components & Rendering

Core Concepts: Functional vs Class components, rendering logic.

  1. What are functional and class components?

    ➤ Follow-ups:

  2. What is the difference between props and state?

    ➤ Follow-ups:

  3. How does React decide when to re-render a component?

    ➤ Follow-ups:

  4. Explain the component lifecycle (mount → update → unmount).

    ➤ Follow-ups:

  5. Output-based:

    function Counter() {
      const [count, setCount] = useState(0);
      console.log("Rendered");
      return <button onClick={() => setCount(count + 1)}>{count}</button>;
    }
    
    

    ➤ Follow-ups:


📅 Day 3 – JSX & Keys

Core Concepts: JSX syntax, rendering, keys.

  1. What is JSX and how does it work internally?

    ➤ Follow-ups: