0.1.11 #14

Merged
Thilawyn merged 318 commits from next into master 2025-05-19 14:01:41 +02:00
Showing only changes of commit ef13e87d12 - Show all commits

View File

@@ -18,6 +18,10 @@ export interface ScopeOptions {
export abstract class ReffuseHelpers<R> {
declare ["constructor"]: ReffuseHelpersClass<R>
constructor() {
this.RefState = this.RefState.bind(this as any) as any
}
useContext<R>(this: ReffuseHelpers<R>): Context.Context<R> {
return ReffuseContext.useMergeAll(...this.constructor.contexts)