Example refactoring
Some checks failed
Lint / lint (push) Failing after 10s

This commit is contained in:
Julien Valverdé
2025-01-15 17:52:28 +01:00
parent 8b5c6169da
commit 4a525d5f5d
3 changed files with 15 additions and 7 deletions

View File

@@ -1,5 +1,8 @@
import { Reffuse as RootReffuse } from "@/reffuse"
import { GlobalContext } from "@/reffuse"
import { ReffuseContext } from "@thilawyn/reffuse"
import { make } from "@thilawyn/reffuse/Reffuse"
import { PostsState } from "./services"
export const Reffuse = RootReffuse.extend<PostsState.PostsState>()
export const PostsContext = ReffuseContext.make<PostsState.PostsState>()
export const Reffuse = make([GlobalContext, PostsContext])