useGlobalState()
A really clever idea to allow for globally synced state via a fairly simple custom hook. Using this avoids the need for complex Context nesting or lots of prop drilling.
A really clever idea to allow for globally synced state via a fairly simple custom hook. Using this avoids the need for complex Context nesting or lots of prop drilling.