Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to refresh after using search query #76

Open
jawed321 opened this issue Oct 5, 2021 · 4 comments
Open

Unable to refresh after using search query #76

jawed321 opened this issue Oct 5, 2021 · 4 comments

Comments

@jawed321
Copy link

jawed321 commented Oct 5, 2021

After filter the posts, when I try to refresh the page, it keeps loading

@mauvpark
Copy link

@jawed321 You should check out your search query gets any data from api. You could use console.log() first. Sometimes loading is too slow because of back-end side region problem. If you use heroku for hosting back-end, it might be because of region I guess.

@jawed321
Copy link
Author

After refreshing the page the query gets undefined. So it keeps loading. Somehow it's not retaining the queries when reloaded. Is it working fine with you, when you reload the page after searching something?

@mauvpark
Copy link

mauvpark commented Oct 15, 2021

@jawed321 Yes, I checked my site it was working fine.
I have only one english post. But you could search it 'titan'.
See whether it is working or not.
If it works, check out my repository.

Here is my site: https://mauv-mern-study.netlify.app/posts
Here is my github: https://github.com/mauvpark/JsMastery-MERN-project

@meetsmarttechnica
Copy link

i have the same issiu redux state lost the data after refresh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants