๐ฆ React Components, JSX, Props, & State ๐ฆ
Posted on Sep 8th, 2022
๐๏ธ Todayโs Topics
- What did you learn from the tutorial(s) you did? First impressions of React?
- Build a small React app together in class
- Components and JSX
- Handling data in React with props and state
๐ฏ Project: Freeshelf
Today, youโll start on your first React app without a tutorial. This is due on Monday.
๐งฐ Please be sure to install the React Developer Tools for Chrome.
๐ Read | ๐บ Watch | ๐ง Listen
- ๐ What is React? A Visual Introduction for Beginners
- ๐ React Mental Model: Working with Input
- ๐ Using the State Hook
- ๐ง Podcast: Advice for New Devs If you havenโt listened to this yet, donโt miss it.
๐ Resources
React
- Conditional Rendering in React
- React Docs: Handling Events in React
- Handing Events in React with examples for functional components
- Supported Events in React
- MDN React Todo List Walk-through
- Just show me the code for the MDN Todo List
- Create-React-App Docs
CSS
We care about the look and feel of the UI, but that doesnโt automatically mean we have to write custom CSS. Sometimes (like now when you are just learning React!) it makes sense to rely on a library for most or all of your styling. There are a range of libraries from the very comprehensive to the very minimal. Here are some lighter-weight ones that you could check out:
- SmolCSS - minimal snippets You can just copy and paste these styles as needed. ๐
- Bulma
- Tachyons
- Materialize