Skip to content

Add Typesafe <NavLink> component to Wasp #4104

Open
FranjoMindek wants to merge 3 commits intomainfrom
franjo/typesafe-navlinks
Open

Add Typesafe <NavLink> component to Wasp #4104
FranjoMindek wants to merge 3 commits intomainfrom
franjo/typesafe-navlinks

Conversation

@FranjoMindek
Copy link
Copy Markdown
Contributor

@FranjoMindek FranjoMindek commented May 4, 2026

Description

Fixes #4101

Pretty much identical to existing <Link> component, just wraps the <NavLink> instead. Much better DX for links reacting to navigation state.

Also updated our PUBLIC API spreadsheet.

Type of change

  • 🔧 Just code/docs improvement
  • 🐞 Bug fix
  • 🚀 New/improved feature
  • 💥 Breaking change

Checklist

  • I tested my change in a Wasp app to verify that it works as intended.

  • 🧪 Tests and apps:

    • I added unit tests for my change.
    • (if you fixed a bug) I added a regression test for the bug I fixed.
    • (if you added/updated a feature) I added/updated e2e tests in examples/kitchen-sink/e2e-tests.
    • (if you added/updated a feature) I updated the starter templates in waspc/data/Cli/templates, as needed.
    • (if you added/updated a feature) I updated the example apps in examples/, as needed.
      • (if you updated examples/tutorials) I updated the tutorial in the docs (and vice versa).
  • 📜 Documentation:

    • (if you added/updated a feature) I added/updated the documentation in web/docs/.
  • 🆕 Changelog: (if change is more than just code/docs improvement)

    • I updated waspc/ChangeLog.md with a user-friendly description of the change.
    • (if you did a breaking change) I added a step to the current migration guide in web/docs/migration-guides/.
    • I bumped the version in waspc/waspc.cabal to reflect the changes I introduced.

@FranjoMindek FranjoMindek self-assigned this May 4, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 4, 2026

Deploying wasp-docs-on-main with  Cloudflare Pages  Cloudflare Pages

Latest commit: cb61dfc
Status: ✅  Deploy successful!
Preview URL: https://f617ab27.wasp-docs-on-main.pages.dev
Branch Preview URL: https://franjo-typesafe-navlinks.wasp-docs-on-main.pages.dev

View logs

@FranjoMindek FranjoMindek had a problem deploying to railway-deploy-test May 4, 2026 10:40 — with GitHub Actions Failure
@FranjoMindek FranjoMindek temporarily deployed to fly-deploy-test May 4, 2026 10:40 — with GitHub Actions Inactive
@FranjoMindek FranjoMindek marked this pull request as ready for review May 4, 2026 10:48
@FranjoMindek FranjoMindek requested a review from a team as a code owner May 4, 2026 10:48
@FranjoMindek FranjoMindek requested review from sodic and removed request for a team May 4, 2026 10:48
@FranjoMindek FranjoMindek had a problem deploying to railway-deploy-test May 4, 2026 10:57 — with GitHub Actions Failure
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 4, 2026

Open in StackBlitz

@wasp.sh/wasp-cli

npx https://pkg.pr.new/@wasp.sh/wasp-cli@4104

@wasp.sh/wasp-cli-darwin-arm64-unknown

npx https://pkg.pr.new/@wasp.sh/wasp-cli-darwin-arm64-unknown@4104

@wasp.sh/wasp-cli-darwin-x64-unknown

npx https://pkg.pr.new/@wasp.sh/wasp-cli-darwin-x64-unknown@4104

@wasp.sh/wasp-cli-linux-x64-glibc

npx https://pkg.pr.new/@wasp.sh/wasp-cli-linux-x64-glibc@4104

@wasp.sh/wasp-cli-linux-x64-musl

npx https://pkg.pr.new/@wasp.sh/wasp-cli-linux-x64-musl@4104

commit: b2d9765

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide typesafe NavLink in Wasp SDK

1 participant