tanstack.com
tanstack.com copied to clipboard
Tanstack Start Build From Scratch docs example is a full page reload
If you follow the current example on the 'Build From Scratch' page, clicking on the counter button seems to cause a full page reload (notice that the browser refresh button animation refresh -> X -> refresh will trigger).
As someone new to react frameworks/stacks my understanding is that this should not be happening? The numbers should update without a page reload, right?
https://tanstack.com/start/latest/docs/framework/react/build-from-scratch
edit: If you replace the file read with useState, there is no full page reload. I'm not sure what is causing page reload when reading the counter state from file.