Here’s a simple cheat sheet with some basic things you might want to do with props and state. Setting Props… Read more Props & State Cheat Sheet
Tag: state
What’s the difference between Lazy State Instantiation and the useEffect dependency array?
Question From my understanding, Lazy State Instantiation and the useEffect dependency array both keep React from doing work again that… Read more What’s the difference between Lazy State Instantiation and the useEffect dependency array?
React Props & State: Exercise 3 – Events
This is the third exercise in the series. You may want to start with the first one and the second… Read more React Props & State: Exercise 3 – Events
React Props & State: Extra Practice
If you’ve done Exercise 1 and want more practice, here are some data items and starter JSX for displaying the… Read more React Props & State: Extra Practice
React Props & State: Exercise 2 – State
This is the second exercise in the series. You may want to start with the first one. React is a… Read more React Props & State: Exercise 2 – State
React Props & State Exercise 1 – Props
React is a JavaScript library for building dynamic websites. It works by reacting to changes in the data, and making… Read more React Props & State Exercise 1 – Props