Skip to content

add Next.js migration examples - #6

Merged
dai-shi merged 3 commits into
wakujs:mainfrom
daishikato:add-nextjs-examples
Sep 29, 2026
Merged

dai-shi merged 3 commits into
wakujs:mainfrom
daishikato:add-nextjs-examples

Conversation

@dai-shi

@dai-shi dai-shi commented Sep 28, 2026

Copy link
Copy Markdown
Member

Four Next.js apps migrated to Waku 1.0.0-rc.2, under fs-router/: blog-starter, the Learn dashboard, Commerce and Nextgram. The first three are derived from Vercel's MIT-licensed code and keep its license; Nextgram has no license, so it is reimplemented instead. They keep the titles of the originals, so the smoke test takes a per-example title.

Four Next.js apps migrated to Waku 1.0.0-rc.2, under fs-router/: blog-starter,
the Learn dashboard, Commerce and Nextgram. The first three are derived from
Vercel's MIT-licensed code and keep its license; Nextgram has no license, so
it is reimplemented instead. They keep the titles of the originals, so the
smoke test takes a per-example title.
Commerce returns 404 for an unknown collection, as the original does. The
dashboard's login redirect carries callbackUrl again, and authenticate()
follows any dashboard path rather than three fixed ones. Commerce's OG images
are PNGs rendered with satori and @resvg/resvg-js, since social crawlers do
not render SVG, and og:image URLs are absolute and keyed by route handle.
The mobile menu closes itself in an effect keyed on the search params, so a
new object on every render closed it as soon as it opened. next/navigation
returns the same object until the URL changes, and the shim now does too.
@dai-shi
dai-shi merged commit 4676a01 into wakujs:main Sep 29, 2026
4 checks passed
@daishikato
daishikato deleted the add-nextjs-examples branch October 1, 2026 05:48
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.

2 participants