Kavindu udara
SE Undergaduate
github-profile-image

React Fundamentals

Posted on Dec 1, 2024
  1. Introduction

  2. Setting Up the Development Environment for React with Vite

    • Installing Node.js and npm.
    • Setting up a React Project.
    • Overview of the project folder structure.
  3. Understanding JSX / TSX

  4. Components in React

    • Functional Components vs Class Components.
    • How to create and export components.
    • Importing components and using them inside other components.
  5. Props and State Props in React, State in React

    • Introduction to props and how to pass data between components.
    • Introduction to state and useState hook.
    • Updating and managing state.
  6. Event Handling in React

    • How to handle events like clicks, inputs, and form submissions.
    • Event binding and passing data with event handlers.
  7. Conditional Rendering in React

    • How to conditionally render components using if-else, ternary operators, and && logic.
  8. Lists and Keys in React

    • How to render lists in React using .map().
    • Importance of keys in list rendering.
  9. React Lifecycle and Hooks

    • Introduction to React hooks: useEffect for handling side effects.
  10. Styling in React

    • Inline styles vs External CSS vs CSS Modules.
    • Introduction to styling libraries like Styled Components or Tailwind CSS.
  11. Deploying a React App

    • Preparing the app for production using npm run build.