8000 Tanstack Start Build From Scratch docs example is a full page reload · Issue #428 · TanStack/tanstack.com · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Tanstack Start Build From Scratch docs example is a full page reload #428
Open
@aloh86

Description

@aloh86

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0