How to prevent page reload on action / query
I use lazy loading, defining preload function, deferStream, and I can see visibly the data added in real time to the page but it forcefully refreshes the page
How do I stop this? I didn't think server actions were meant to do this anyways
and then a simple server query
4 Replies
Ok well it work in a prod. server but not dev. That's all.
you most likely have a hydration issue in your app
like you might be importing a server module and its not being tree-shaken well
So it's supposed to work identical to production on dev server and shouldn't be doing a full refresh?
yes