attempting to do:
modularize a logoutPROMISE that expresses a removing of cookies from:
chrome-dev-tools -> application -> cookies (by name of cookie which would be function parameter)
error:
useContext() cant use useContext of null
proposed approach:
👍 already solved just use the same modular function by abstractly describing it within the Promises.
👍 Contexts/Promises
👎 Contexts/Regex
can use either modularly since
The provider isnt wrapping around Contexts/Promise and Contexts/Regex but they can both wrap around the app
so that components can use either one together. cant use them within each other.
attempting to do: modularize a logoutPROMISE that expresses a removing of cookies from: chrome-dev-tools -> application -> cookies (by name of cookie which would be function parameter)
error: useContext() cant use useContext of null
proposed approach: 👍 already solved just use the same modular function by abstractly describing it within the Promises.
👍 Contexts/Promises
👎 Contexts/Regex
can use either modularly since
The provider isnt wrapping around Contexts/Promise and Contexts/Regex but they can both wrap around the app
so that components can use either one together. cant use them within each other.