Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiaggio committed Dec 26, 2024
1 parent 5b27056 commit 4c0ab22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ project/plugins/project/
sbt-ctags-dep-srcs/
buildinfo.properties
.bsp/
sbt-launch.jar

# OS X
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ Like the `useEffect` family of hooks, this hook doesn't add any new parameters t
Given a value, creates an `fs2.Stream` that will emit a new value every time the value changes. Equality is tested by `Eq`/`Reusability`. The stream is created when the component is mounted and memoized. This is backed by a `SignallingRef`, so intermediate values may be dropped during rapid bursts.

``` scala
useValueStream[A: Eq](value: A): Reusable[Pot[fs2.Stream[DefaultA, A]]]
useSignalStream[A: Eq](value: A): Reusable[Pot[fs2.Stream[DefaultA, A]]]
useSignalStreamByReuse[A: Reusability](value: A): Reusable[Pot[fs2.Stream[DefaultA, A]]]
```

Expand Down

0 comments on commit 4c0ab22

Please sign in to comment.