DEV Community

loading...

Discussion on: Using Firebase with React Hooks

bulletninja profile image
Bulletninja

Maybe you can put that into a context, and try to get things from localStorage or sessionStorage, if they're not there, initialize, and reuse such context in all your pages