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 edec837a87 - Show all commits

View File

@@ -1,4 +1,4 @@
import { Context, Effect, Fiber, FiberRefs, Ref, Runtime, RuntimeFlags, Scope, Stream, SubscriptionRef } from "effect"
import { Context, Effect, Fiber, Ref, Runtime, Scope, Stream, SubscriptionRef } from "effect"
import React from "react"
import type * as ReffuseReactContext from "./ReffuseReactContext.js"
import * as ReffuseReactContextProvider from "./ReffuseReactContextProvider.js"
@@ -110,9 +110,6 @@ export class Reffuse<R> {
}
// TODO: allow passing runtime
export const make = <R = never>(): Reffuse<R> =>
new Reffuse(Runtime.make({
context: Context.empty(),
runtimeFlags: RuntimeFlags.make(),
fiberRefs: FiberRefs.empty(),
}))
new Reffuse(Runtime.defaultRuntime)