@exodus/fusion-atoms
v1.4.0
Published
The fusion-atoms library
Downloads
14,583
Readme
@exodus/fusion-atoms
Factory for creating atoms that sync using the fusion API (e.g. see fusion-local).
Usage
import { createFusionAtom } from '@exodus/fusion-atoms'
const fooBarAtom = createFusionAtom({ fusion, path: 'foo.bar', defaultValue: 42 })
// treat fooBarAtom like a normal atom