0.1.0 #1

Merged
Thilawyn merged 87 commits from next into master 2025-01-18 00:54:42 +01:00
Showing only changes of commit 9aa86f19f0 - Show all commits

View File

@@ -7,11 +7,10 @@ export class Reffuse<R, ER> {
constructor( constructor(
private readonly runtime: ManagedRuntime.ManagedRuntime<R, ER> private readonly runtime: ManagedRuntime.ManagedRuntime<R, ER>
) { ) {
const Context = React.createContext(runtime) this.Context = React.createContext(runtime)
this.Context = Context
this.Provider = (props: { readonly children?: React.ReactNode }) => ( this.Provider = (props: { readonly children?: React.ReactNode }) => (
<Context <this.Context
{...props} {...props}
value={runtime} value={runtime}
/> />