0.2.4 #38

Merged
Thilawyn merged 44 commits from next into master 2026-03-16 00:30:17 +01:00
Showing only changes of commit 7f8f91bfc5 - Show all commits

View File

@@ -24,7 +24,7 @@ export const AsyncPrototype: AsyncPrototype = Object.freeze({
const Inner = (props: { readonly [PromiseTypeId]: Promise<React.ReactNode> }) => React.use(props[PromiseTypeId]) const Inner = (props: { readonly [PromiseTypeId]: Promise<React.ReactNode> }) => React.use(props[PromiseTypeId])
Inner.displayName = `${ this.displayName }Inner` Inner.displayName = `${ this.displayName }Inner`
return (props: {}) => { return (props: P) => {
const promise = Runtime.runPromise(runtimeRef.current)( const promise = Runtime.runPromise(runtimeRef.current)(
Effect.andThen( Effect.andThen(
Component.useScope([], this), Component.useScope([], this),