
React is a JavaScript library for building user interfaces and UI components. Compose the DOM with components like headers, buttons, and text sections, and type HTML inside JavaScript.
Set up your development environment for React by installing NodeJS and Visual Studio Code, then configure debugging and extensions, including the React extension, to write and view your code.
Open Visual Studio Code, create and open a new folder for your React app, then verify npm and Node versions, create the app, and start it with npm run start.
Explore the project file structure, including node_modules, the public folder with HTML, CSS, and assets, the crc folder, and src files like app.css, App.js, index.js, plus package.json, package-lock.json, and gitignore.
Open a new terminal and run npm install to add the needed packages for your React project. Copy and paste the bootstrap installation command to install Bootstrap in your app.
Explore how React components enable reusable UI blocks like headers, sidebars, and posts to minify code and reuse components across the project.
Learn to style React components by creating an assets folder, adding a main.css and header.css under a components folder, and importing them in header and index to render red text.
Apply inline styles to an HTML element by using the style attribute, set the color to red, save, and preview the result in the browser.
Create a functional React component and pass data via props from App.js to a child user card, using a user data object with name, age, and job.
Learn how to use state in a React component with the useState hook, initialize count to zero, and update it via a button to increment or decrement.
Discover how React hooks like useState and useEffect manage state and effects in components, with useState defining a state and its initial value and a function to update it.
Use effect is a React life cycle function that updates state after actions. In auto counter example, useState starts at zero and useEffect with an empty dependency array runs once.
Demonstrate toggling dark and light themes in a React app using useState and useEffect, persisting the theme in local storage via a button click.
Learn to map an array of items in React by creating a data source, importing it, and rendering each element with props and keys in a grid of components.
This short course will cover basic and core concepts that you need to know to get up and running with ReactJS.
This series will explore the basic fundamentals of React to get you started. video course with interactive code examples that will help you learn React. A beginner-friendly crash course through the most important React topics.
Also in this course, it will get you up to speed quickly with easy to follow short videos. It is project-oriented with hands-on examples, from simple to complex, that will help you with the most fundamentals concepts of React:
React custom syntax and the JSX transform
components, properties and state
Usage of useState and useEffect
Props and state and the difference between the both
Topics include:
Compiling JSX to plain JS
Style your components with css, css modules
Display data and images in your components
Share data across components
introduction to Npm react-tools
Creating components
Adding and using state and props
Handling events
Using useState and useEffect
By the end of this course you'll be able to
Learn basic concepts like components, states, props, lists, events, forms
And you will learn how to deploy react applications on the internet
Who this course is for:
This is a FAST-paced course intended for developers who are brand new to React.
You don't need to be an expert developer to learn React from this course, but brand new developers may find it too fast-paced.
Experienced developers will love the fast pace and focus on quick delivery of the most critical information.
Non-developers and brand new developers may find this course too fast paced.