Skip to content

timotheeg/myhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is just a dummy experiment to showcase how react hooks can be implemented simply by using the scope chain.

The code also illustrates why hooks must be declared unconditionally, since they are retrieved by index of call order.

About

How does react hook magic work?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published