()
| 23 | const allIslandCache = await buildProd({ islandDir: ALL_ISLAND_DIR }); |
| 24 | |
| 25 | function islandApp(): App<unknown> { |
| 26 | const app = new App().get("/", (ctx) => { |
| 27 | const sig = signal(0); |
| 28 | return ctx.render( |
| 29 | <Doc> |
| 30 | <Counter count={sig} /> |
| 31 | </Doc>, |
| 32 | ); |
| 33 | }); |
| 34 | allIslandCache(app); |
| 35 | return app; |
| 36 | } |
| 37 | |
| 38 | // --------------------------------------------------------------------------- |
| 39 | // Static pages (no islands, no f-client-nav) |
no test coverage detected