dai-shi / waku

⛩️ The minimal React framework
https://waku.gg
MIT License
3.91k stars 102 forks source link

fix(client): enable to render previous element in slot (experimental) #696

Closed dai-shi closed 1 week ago

dai-shi commented 1 week ago

If we have main.tsx, we can place an error boundary there. However with managed mode or nested routes, we may want to place an error boundary in RSC. This enables to use previous elements on client with some condition. It only works with "static" layout. This is experimental. We should add tests for this to keep the capability, if possible.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **waku** | ⬜️ Ignored ([Inspect](https://vercel.com/daishis-projects/waku/2tUuJtwTFnKignLw4N2s4WviuNKL)) | [Visit Preview](https://waku-git-client-unstable-prev-fallback-daishis-projects.vercel.app) | May 7, 2024 10:59pm |
codesandbox-ci[bot] commented 1 week ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.