Closed stacykutyepov closed 3 years ago
1- after sign in , be redirected to the user page after few seconds 2- create some loading animation that make the user more patient can you explain more the process of this feature in steps lik one: two: . . . . ?
Hello! Seems like you understood the problem. 1- after sign in , be redirected to the user page after few seconds 2- while redirecting create some loading animation
I think the best would be to create some kind of state in redux, where you would store the loading state and then show the loader when the state is 'true'
ok thank you for explanation I will make this work fast as possible but the last question why we need to use redux for this small task while we can use just a simple state or context?
We can use redux state to make it global and also use it for other pages that’d need some loading in the future.
Best regards, Stacy
On Apr 11, 2021, at 7:37 PM, golden-on @.***> wrote:
ok thank you for explanation I will make this work fast as possible but the last question why we need to use redux for this small task while we can use just a simple state or context?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Inter-Camp/InterCamp/issues/55#issuecomment-817393182, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO4UYMMB6APX26BU57HY2E3TIIQDLANCNFSM42TTR3KA.
resolved
When you sign in to the app, it redirects you to the user page after few seconds. However, you get to the main page for few seconds. Seems like it shouldn't be that way. The idea is to make it seamless and add a loader while the app processes the redirect.