- Simple Auth / Login App
- Demonstrates Context Providers and useContext
- accepts any username / email address & password
- creates a dummy userId for the newly logged in user
- sets state to logged in and shows User Info with logout buttom
- uses AuthProvider component to wrap in index.js
- authContext exposes auth functions and state
- also uses a general-purpose StateProvider for all children of App>
generated from gary-jipp/demo-react-context
-
Notifications
You must be signed in to change notification settings - Fork 0
faroukalsajee/simple-react-context-app
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple Auth / Login App that demonstrates Context Providers and useContext.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published