Skip to content

Unexpected Server Round Trips #3470

Answered by gbj
braje asked this question in Q&A
Discussion options

You must be logged in to vote

The problem I am seeing is that clicking on this anchor rerenders the entire page

This sounds like the actual issue to me. The rest of what you're doing sounds fine. If you are using the router, you are not using islands, and the page has hydrated correctly, click an <a> should not do a full server round-trip.

There are no other warnings or errors in the browser console?

If not, then some more code to look at, or a minimal example, would be helpful.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by braje
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants