Skip to content

React context without the context type importing hell

Notifications You must be signed in to change notification settings

lazeebee/react-globals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-globals

npm i react-globals
import { Globals, useGlobals } from "react-globals"

Globals component

<Globals value={store}>
  <App />
</Globals>

useGlobals hook

const store = useGlobals();

About

React context without the context type importing hell

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published