Obamax
Context not working as expected
I use the Context as a stage manager for my auth part so with a store with actually only the accessToken and some function like Login Logout. I was inspired by how Pinia work in VueJS. And then I wrap my whole application with that context and then can use wherever I need to my useAuth which allow me to retrieve the reactive data of my AuthContext’s store
15 replies