Skip to main content
EK Web 1st Semester
Skift Dark/Light/Auto mode Skift Dark/Light/Auto mode Skift Dark/Light/Auto mode Tilbage til forsiden

Learning Objectives

Learning Objectives

Week2: JavaScript and React continued

React intro

  1. Component-Based Architecture:

    • Initialize and run a React project
    • Understand the concept of components in React.
    • Create and use functional components.
  2. JSX Syntax:

    • Compose UI elements using JSX syntax.
    • Grasp the relationship between JSX and JavaScript.
    • Include CSS in project
  3. State and Props:

    • Differentiate between state and props.
    • Implement stateful components and pass data through props.

5. Lifting State

  • Explain: The concept of lifting state to share data between parent and child components.
  • Show how to: Pass callback functions as props to update shared state.
  • Explain: The implications of prop drilling and strategies to minimize its impact.
  • Explain: The benefits of lifting state, such as improved maintainability and data consistency.