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

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.
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.