Hey Ben, just learning about the Context API, so I’d like to do a quick sanity check.
In UserProfile I’m this example, assuming we don’t have any routine set up to redirect users to Login / Signup pages, shouldn’t we check that the user is not null and if it is, offer a Login button instead of the Username?
Thanks for your write up.
I may write something that corresponds to React Native land.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Ben, just learning about the Context API, so I’d like to do a quick sanity check.
In UserProfile I’m this example, assuming we don’t have any routine set up to redirect users to Login / Signup pages, shouldn’t we check that the user is not null and if it is, offer a Login button instead of the Username?
Thanks for your write up.
I may write something that corresponds to React Native land.