Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSC: kitchen-sink: Use <Link> from @redwoodjs/router #10695

Merged
merged 1 commit into from
May 29, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented May 29, 2024

With some of the recent changes that have gone in it's now possible to use the <Link> component from @redwoodjs/router. When doing so (using the router Link component) clicking on a link is no longer a full-page refresh, but rather just fetching the new stuff from our RSC endpoint.

This PR updates the kitchen-sink test project to take advantage of this.

@Tobbe Tobbe added release:chore This PR is a chore (means nothing for users) changesets-ok Override the changesets check labels May 29, 2024
@Tobbe Tobbe added this to the RSC milestone May 29, 2024
@Tobbe Tobbe enabled auto-merge (squash) May 29, 2024 07:44
@Tobbe Tobbe merged commit 7522975 into redwoodjs:main May 29, 2024
46 of 48 checks passed
@Tobbe Tobbe deleted the tobbe-rsc-kitchen-sink-router-link branch May 29, 2024 08:06
dac09 added a commit to dac09/redwood that referenced this pull request May 29, 2024
…n-serverStore

* 'main' of github.com:redwoodjs/redwood:
  RSC: kitchen-sink: Fix css pixels unit (redwoodjs#10696)
  RSC: kitchen-sink: Use `<Link>` from @redwoodjs/router (redwoodjs#10695)
@Josh-Walker-GM Josh-Walker-GM modified the milestones: RSC, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants