Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 668 Bytes

Readme.md

File metadata and controls

27 lines (19 loc) · 668 Bytes

Hook Norris

Simple App with several use cases, while looking for random Chunk Norris sentences.

Use Cases

Hook Norris Base

This use case feats:

  • componentDidMount
  • State management
  • Event handling
  • React ref
  • componentDidUpdate

Hook Norris Custom hooks

Same as the base one, but with a custom hook wrapping the logic

Hook Norris Memo value

This feats the custom hook, and includes a hash from the last updated time that it is memoized based on the tooMuchDelay state

Testing it

If you want to run this examples to see how them work, do as follows:

  1. yarn or npm i
  2. npm start
  3. Go to localhost:8080