#Client sees different response than server is sending?

1 messages · Page 1 of 1 (latest)

simple wigeon
#

in my loader, I have return json(response)
on the server, i can see the object logging json values
on the client, loaderData = {}
any ideas what could be causing this?
i have an interval set and client pings server every few seconds consistently with this result.
when i hard refresh, it syncs up and the loaderData is not empty object anymore.

simple wigeon
#

my current workaround is to location.reload() when the action returns success 🫤