Is there a way to make revalidatePath not refreshing the page?
Unanswered
Belgian Hare posted this in #help-forum
Belgian HareOP
I am making an auto-saving textarea. However, every time it tries to save, the backend calls revalidatePath, which causes the front end to rerender, and thus user losing focus on the textarea. Is there a way to prevent that?
1 Reply
Belgian HareOP
Potential fix that worked for me:
1. Remove all the React.memo (somehow this is intefering with next.js)
2. Remove the Intl font stuff. I don't know what it does, but as long as it exists, it causes fonts to change for 1 frame every time it revalidates path
1. Remove all the React.memo (somehow this is intefering with next.js)
2. Remove the Intl font stuff. I don't know what it does, but as long as it exists, it causes fonts to change for 1 frame every time it revalidates path