Please note: These are all extremely simply demos used to demonstrate using different React Hooks, these are part of a blog article currently writing [article to be added soon]

Part 1: useState()

Press the button to increment the Counter:0

Part 2: useEffect()

This counter will save to local storage using useEffect:0

Part 3: useMemo()

Adding squares should be quick, updating number will be slow. 0

Part 4: useRef()

This demo has 2 parts, the first is that the squares have useRef to store their random colors when the button is pressed, the 2nd demo has a useRef to persist a value

Input Val: , Persisted Val:

Part 5: useCustom()

Press the button to use our Custom Fetching Hook