Skip to content

bguzmanrio/hook-norris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

React Hooks examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published