-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use useContext and useState hooks to provide global state #2
Comments
Dgarc359
added a commit
that referenced
this issue
Aug 10, 2022
… should be its own branch but i got excited...
Dgarc359
added a commit
that referenced
this issue
Aug 10, 2022
… should be its own branch but i got excited...
Dgarc359
changed the title
use useContext and useState hooks to provide global login state
use useContext and useState hooks to provide global state
Aug 13, 2022
In regards to color scheme, I will be moving forward with using useContext to manage this. I want the footer component to use the color scheme set by the global context, and I want each page to access the global setter and set their color scheme that way |
Dgarc359
added a commit
that referenced
this issue
Aug 13, 2022
Dgarc359
added a commit
that referenced
this issue
Sep 3, 2023
Dgarc359
added a commit
that referenced
this issue
Sep 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't want to use redux, I think I can just use a combination of useContext and useState in order to pass around the following states:
The text was updated successfully, but these errors were encountered: