Frontend with React
⚛️ Components, JSX and state
The foundation of React: components that return JSX, props to pass them data and state with useState.
What you'll learn
- Create components as functions that return
JSXwith a single root element - Pass data to a component through
propsand destructure them in the signature - Manage local state with
useStateand repaint the UI with its updater function - Tell
props(read-only) apart fromstate(changes over time)
Lessons
What is React? Components and JSXFunctions that return interface. Props: passing data to a componentConfigure components from the outside. State with useStateData that changes and repaints the interface.Practice this module in the app
DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.
Start free in the app →