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

This commit is contained in:
Julien Valverdé
2025-04-11 02:58:44 +02:00
parent d1ba4148f2
commit c1b6e73231
2 changed files with 23 additions and 18 deletions

View File

@@ -24,6 +24,10 @@ function RouteComponent() {
const aRef = R.useRef("a value")
const anotherRef = R.useRef(69)
const res = R.useRefsState({ aRef, anotherRef })
const [reactValue, setReactValue] = useState("initial")
const reactValueStream = R.useStreamFromValues([reactValue])