[BUG] moving to another page loses state of previous state
See original GitHub issueDescription
when a user is in the search page and they click on the other pages, the previous state of the previous page is gone, which means if they were in a chat or were searching, they can’t access that state anymore
Tasks
- Keep a general state for each tasks going on in the search page
- When a user is not searching and not in a chat, their current state should be
notSearching
, when they are searching, it should besearching
and when they are in a chat with someone, it should bePaired
- When a user leaves a route and come back, display the component needed based on their current state
Screenshots
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Redux loses state when navigating to another page
In the following piece of code, I set the state, and navigate to a new window. createBookGroup() { let groupToCreateInfo = { bookTitle:...
Read more >Preserving and Resetting State - React Docs
State is isolated between components. React keeps track of which state belongs to which component based on their place in the UI tree....
Read more >'history.state' object is getting lost when navigate using back ...
I think there is a small bug - the `history.state` object is getting lost when navigate using back/forward buttons. The fix should be...
Read more >Hover state not lost when window is minimized or covered
I reproduced on Windows by finding a hover effect on a random web page, then pressing Windows down arrow, then using the mouse...
Read more >Activity state changes - Android Developers
If a new activity or dialog appears in the foreground, taking focus and partially covering the activity in progress, the covered activity loses...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Dun-sin, It is not yet assigned to me. I have read the rules.
@Dun-sin I’m taking this…