aitoss / Anubhav-frontend-23

Anubhav: Experience Sharing Point (A-ESP) is a platform developed for AITians to read & share encounters of various interviews.
https://anubhav.aitoss.club/
MIT License
4 stars 12 forks source link

Clear cache after submitting article #37

Open Harshal141 opened 1 week ago

Harshal141 commented 1 week ago

Problem: While writing an article, the content is stored in localStorage to prevent data loss in case the tab is closed or an error occurs. However, the cached content persists even after the article is successfully submitted.

Solution: Clear the cached content from localStorage once the user successfully submits the article to prevent old data from persisting unnecessarily.

Bharathhh30 commented 1 week ago

Where can i find cache content in the code base

Harshal141 commented 6 days ago

In the write articles page the content is temporarily stored in the localStorage, but it should be removed once the article is successfully submitted.