project_mern_memories icon indicating copy to clipboard operation
project_mern_memories copied to clipboard

Unable to refresh after using search query

Open jawed321 opened this issue 3 years ago • 4 comments

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

jawed321 avatar Oct 05 '21 11:10 jawed321

@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.

mauvpark avatar Oct 15 '21 05:10 mauvpark

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?

jawed321 avatar Oct 15 '21 05:10 jawed321

@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

mauvpark avatar Oct 15 '21 06:10 mauvpark

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

meetsmarttechnica avatar May 10 '22 08:05 meetsmarttechnica