Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.
/ react-depree Public archive

🦚 A way to write side-effects free react components

License

Notifications You must be signed in to change notification settings

cloud-walker/react-depree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦚 React Depree

An idea to write "side-effect free" react components, enabling clean dependency injection on every level of the components tree!

The package exposes a provider component and a hook, thats all, with these 2 constructs you can write every function component / hook without directly polluting them with side-effects!

Previous art

The idea comes from react-magnetic-di by Alberto Gasparin.

About

🦚 A way to write side-effects free react components

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published