@reffuse/extension-query 0.1.4 #15
@@ -22,7 +22,7 @@ function RouteComponent() {
|
|||||||
), [])
|
), [])
|
||||||
|
|
||||||
const uuidStream = R.useStreamFromReactiveValues([uuid])
|
const uuidStream = R.useStreamFromReactiveValues([uuid])
|
||||||
const uuidStreamLatestValue = R.useSubscribeStream(uuidStream)
|
const [uuidStreamLatestValue, pullUuidStream] = R.usePullStream(uuidStream)
|
||||||
|
|
||||||
const scope = R.useScope([uuid])
|
const scope = R.useScope([uuid])
|
||||||
|
|
||||||
@@ -42,6 +42,7 @@ function RouteComponent() {
|
|||||||
onNone: () => <></>,
|
onNone: () => <></>,
|
||||||
})}
|
})}
|
||||||
</Text>
|
</Text>
|
||||||
|
<Button onClick={() => runSync(pullUuidStream)}>Pull UUID</Button>
|
||||||
</Flex>
|
</Flex>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user