Simple App with several use cases, while looking for random Chunk Norris sentences.
This use case feats:
- componentDidMount
- State management
- Event handling
- React ref
- componentDidUpdate
Same as the base one, but with a custom hook wrapping the logic
This feats the custom hook, and includes a hash from the last updated time that it is memoized based on the tooMuchDelay state
If you want to run this examples to see how them work, do as follows:
yarn
ornpm i
npm start
- Go to localhost:8080