Working lazyref extension
Some checks failed
Lint / lint (push) Failing after 12s

This commit is contained in:
Julien Valverdé
2025-02-25 12:17:45 +01:00
parent d9a01dae0f
commit 8754020323
8 changed files with 103 additions and 25 deletions

View File

@@ -1,5 +1,6 @@
import { HttpClient } from "@effect/platform"
import { Clipboard, Geolocation, Permissions } from "@effect/platform-browser"
import { LazyRefExtension } from "@reffuse/extension-lazyref"
import { Reffuse, ReffuseContext } from "reffuse"
@@ -11,7 +12,8 @@ export const GlobalContext = ReffuseContext.make<
>()
export class GlobalReffuse extends Reffuse.Reffuse.pipe(
Reffuse.withContexts(GlobalContext)
Reffuse.withExtension(LazyRefExtension),
Reffuse.withContexts(GlobalContext),
) {}
export const R = new GlobalReffuse()