@systemfsoftware/effect-atom-react
v2.0.0
Published
React bindings for effect-atom — forked under systemfsoftware from tim-smart/effect-atom.
Maintainers
Readme
@systemfsoftware/effect-atom-react
React bindings for effect-atom — forked under systemfsoftware from tim-smart/effect-atom.
Install
pnpm add @systemfsoftware/effect-atom-react 'effect@^4' 'react@^19.2.8' 'react-dom@^19.2.8' 'scheduler@*'Those are peer dependencies: this package declares them but does not install them, so one copy is shared with the rest of your project.
Entry points
One entry, one namespace:
import { AtomReact } from '@systemfsoftware/effect-atom-react'
// inside a component under <AtomReact.RegistryProvider>
const value = AtomReact.useAtomValue(count)API
The public surface is generated from the source and versioned with the package: etc/effect-atom-react.api.md.
License
Apache-2.0. Part of systemfsoftware.
