Version bump
Some checks failed
Lint / lint (push) Successful in 16s
Test build / test-build (pull_request) Failing after 50s

This commit is contained in:
Julien Valverdé
2026-03-15 23:38:39 +01:00
parent 57c0703014
commit 6f296d601b
3 changed files with 24 additions and 13 deletions

View File

@@ -47,6 +47,19 @@ export class TodosView extends Component.make("TodosView")(function*() {
</Container>
)
}) {}
const Index = Component.make("IndexView")(function*() {
const context = yield* Component.useContextFromLayer(TodosState.Default)
const Todos = yield* Effect.provide(TodosView.use, context)
return <Todos />
}).pipe(
Component.withRuntime(runtime.context)
)
export const Route = createFileRoute("/")({
component: Index
})
```
## Getting Started