bjerkio/oidc-react

AuthContext changes on window resizing

m-irc-o opened this issue · 0 comments

UseEffects Hooks depending on the AuthContext get invoked when resizing the browser window because the context changes on every render.

Due to the functions the context's value shall be initialized using a memoized value.