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
current state of the web application is not so good and also most of them is hard coded and also reliable on database data
so we have to change it and try to add the optimistic update of data
logout btn is loaded using window.location.reload - thats not good practice - change it
current version do not have the route for updating the user details
so add the update route and try to minimize the input fields and remove some of them
some day before register route have some problem when we create the account with the same email which is already existed and also check some minor issue too
update the error fields and also the success field so we can give some good message to user without doing any hard code message on every fetching
The text was updated successfully, but these errors were encountered:
manzil-infinity180
changed the title
Manage or improve the state using useContext or react query + handle logout btn + update profile
Manage or improve the state using useContext or react query + handle logout btn + update profile + look on the register route
Mar 5, 2024
current state of the web application is not so good and also most of them is hard coded and also reliable on database data
so we have to change it and try to add the optimistic update of data
logout btn is loaded using window.location.reload - thats not good practice - change it
current version do not have the route for updating the user details
so add the update route and try to minimize the input fields and remove some of them
some day before register route have some problem when we create the account with the same email which is already existed and also check some minor issue too
update the error fields and also the success field so we can give some good message to user without doing any hard code message on every fetching
The text was updated successfully, but these errors were encountered: