π¦ Front-end: React Component Props & State π¦
Posted on Jul 8th, 2021
Todayβs Topics
- What did you think of the tutorial(s) you did? Impressions of React?
- Continue building on our React Devs for Hire app
- More practice with components and JSX
- Handling data in React with props and state
π― Do
Today, youβll start on your first React app without a tutorial. This is due on Monday.
groups = [
['Greg', 'Sara', 'Brian'],
['Shaune', 'Logan', 'Roan']
]
π Read | πΊ Watch | π§ Listen
π Resources
π¨βπ» Code Examples
π§Ά Loom screencasts
I made some short topic videos walking through doing some more stuff with the DevsForHire app.
- 1 - Key prop
- 2 - Splitting App into a separate file
- 3- Include a stylesheet for your component
- 4 - State as an array of objects
- 5 - React conditionally rendering JSX inside a map callback
- 6 - React ternary conditional for className
- 7 - React onClick with a handler function from parent component, Part 1
- 8 - React onClick with a handler function from parent component, part 2
- 9 - React onClick with a handler function from parent component, part 3