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

feat(link): Pass options to navigate() #11058

Merged
merged 6 commits into from
Jul 23, 2024
Merged

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Jul 23, 2024

Allow passing NavigateOptions (which for now is just replace) from a <Link> and <NavLink> to navigate() by setting an options prop on the link component.

This came up during the implementation and review of #10873

@Tobbe Tobbe added the release:feature This PR introduces a new feature label Jul 23, 2024
@Tobbe Tobbe added this to the next-release milestone Jul 23, 2024
@Tobbe Tobbe enabled auto-merge (squash) July 23, 2024 05:42
@Tobbe Tobbe merged commit 10f66e3 into redwoodjs:main Jul 23, 2024
46 checks passed
@Josh-Walker-GM Josh-Walker-GM modified the milestones: next-release, 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
release:feature This PR introduces a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants