Introduction to React

The "Introduction to React" workshop is designed for beginners and aspiring front-end developers who want to kickstart their journey into the world of React.js. React has become a cornerstone in modern web development, offering a powerful and efficient way to build dynamic, responsive user interfaces. In this workshop, participants will embark on a guided exploration of React's core concepts, component architecture, and essential tools. Through a combination of lectures, hands-on exercises, and project-based learning, attendees will gain a solid foundation in React development and begin building their own interactive web applications.

Agenda

Understanding React Fundamentals

  • Introduction to React and its role in modern web development
  • Key concepts: virtual DOM, JSX, components, and state management
  • Overview of React ecosystem and tooling (e.g., Create React App, React Developer Tools)

Setting Up a React Development Environment

  • Installing Node.js and npm/yarn
  • Creating a new React project with Create React App
  • Exploring project structure and essential files

Building Your First React Component

  • Anatomy of a React component: function components vs. class components
  • Writing JSX to define component structure and UI
  • Rendering components within the DOM using ReactDOM

Understanding React State and Props

  • Introduction to component state and props
  • Managing component state with useState hook
  • Passing data to components using props

Handling Events in React

  • React's event handling system
  • Binding event handlers and passing arguments
  • Updating component state based on user interactions

Working with Lists and Conditional Rendering

  • Rendering lists of data with map() method
  • Conditional rendering in React using if statements and ternary operators
  • Using key prop for efficient list rendering

Styling React Components

  • Inline styling vs. external CSS
  • Using CSS modules for scoped styling
  • Exploring popular CSS-in-JS libraries for React

Introduction to React Router

  • Setting up client-side routing with React Router
  • Creating routes, nested routes, and route parameters
  • Navigating between different views in a React application

Building a Dynamic React Application

  • Integrating state management libraries like Redux or useContext/useReducer
  • Fetching data from external APIs using useEffect hook
  • Building interactive UI components with React Hooks

Responsive Design with React

  • Implementing responsive layouts using CSS media queries
  • Building mobile-friendly user interfaces with React
  • Exploring responsive design frameworks and libraries

Deploying Your React Application

  • Optimizing React application for production
  • Creating a production build with npm/yarn
  • Deploying React applications to popular hosting platforms (e.g., Netlify, Vercel)

By the end of the "Introduction to React" workshop, participants will have gained a solid understanding of React fundamentals and the skills necessary to build dynamic, responsive web applications. They will be equipped with the knowledge and confidence to continue their journey in React development and explore more advanced topics and techniques in building modern web interfaces.

Instructor
Yann Torres
Type
On-site
Duration
8
hours
Price per person
350
Total Price
Location
Barcelona, Madrid, Valencia, Bilbao
Language
English, Spanish, Catalan

Ready to Get Started?

Thank you!
We will get back to you as soon as possible.
Oops! Something went wrong while submitting the form.