Refactor authentication checking
Closed this issue · 0 comments
michealengland commented
At the moment, this app passes UID around throughout many components. As a result, this adds extra lifting to props and causes unwanted re-renders each time the login is re-checked.
Ideally, uid
could be hoisted up using context
so that authentication is easily accessible throughout the app.