Y
Hacker News
new
|
ask
|
show
|
jobs
Show HN: Easily add auth checks to any react component
(
github.com
)
27 points
by
thamizhan2611
2985 days ago
1 comments
thamizhan2611
2985 days ago
Author here: We had implemented this using redux before and then moved to the new context API. This pattern of passing user information in a standard way is very cool for reusability.
link
applecrazy
2983 days ago
This is exactly what I was looking for. I was getting tired of passing user data around manually since I was using Firebase auth.
Now I want to switch from Vue back to React 16.
link