@@ -10,8 +10,8 @@ import * as React from "react"
|
||||
|
||||
const RouteComponent = Component.make(function* RouteComponent() {
|
||||
const [value, setValue] = React.useState("")
|
||||
const myRef = yield* SubscriptionRef.make(Chunk.make({ name: "person 1" } as const))
|
||||
// const myRef = yield* SubscriptionRef.make(Chunk.empty<{ readonly name: "person 1" }>())
|
||||
// const myRef = yield* SubscriptionRef.make(Chunk.make({ name: "person 1" } as const))
|
||||
const myRef = yield* SubscriptionRef.make(Chunk.empty<{ readonly name: "person 1" }>())
|
||||
const mySubRef = SubscriptionSubRef.makeFromChunkRef(myRef, 0)
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user