@@ -17,8 +17,7 @@ such as `Lens.fromSubscriptionRef`, and bind Lens values into components with
|
|||||||
`Subscribable.useAll`.
|
`Subscribable.useAll`.
|
||||||
|
|
||||||
`Subscribable` is the read-only side of this model. Every Lens is also a
|
`Subscribable` is the read-only side of this model. Every Lens is also a
|
||||||
Subscribable, so use `Subscribable.useAll` whenever a component only needs to
|
Subscribable.
|
||||||
read reactive state.
|
|
||||||
|
|
||||||
`effect-fc` re-exports the `Lens` and `Subscribable` modules from
|
`effect-fc` re-exports the `Lens` and `Subscribable` modules from
|
||||||
[`effect-lens`](https://github.com/Thiladev/effect-lens) for convenience. The
|
[`effect-lens`](https://github.com/Thiladev/effect-lens) for convenience. The
|
||||||
|
|||||||
Reference in New Issue
Block a user