You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fetch the data on 'componentDidMount' and before fetch the data, I calling getAccessToken(). I found my page re-render loop.
And then, I creating the button for call getAccessToken(). I found my ui re-render always click the button.
I compare the prev-state and next-state, I found "state" changed. I think, If accessToken not expired, Should It be return from cache?.
Anyone help me please.
msal: 1.2.0
react-aad-msal: 2.3.2
The text was updated successfully, but these errors were encountered:
I fetch the data on 'componentDidMount' and before fetch the data, I calling getAccessToken(). I found my page re-render loop.
And then, I creating the button for call getAccessToken(). I found my ui re-render always click the button.
I compare the prev-state and next-state, I found "state" changed. I think, If accessToken not expired, Should It be return from cache?.
Anyone help me please.
msal: 1.2.0
react-aad-msal: 2.3.2
The text was updated successfully, but these errors were encountered: