useSubscribeStream
All checks were successful
Lint / lint (push) Successful in 13s

This commit is contained in:
Julien Valverdé
2025-04-13 02:30:29 +02:00
parent 8fecb94292
commit 7a12abdbdf
2 changed files with 18 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ function RouteComponent() {
const uuidRef = R.useRef("none")
const anotherRef = R.useRef(69)
console.log(R.useSubscribeStream(uuidRef.changes))
const logValue = R.useCallbackSync(Effect.fn(function*(value: string) {
yield* Effect.log(value)