feat!: replace split with mapAtom

This commit is contained in:
Richard 2024-03-03 22:50:59 -08:00
parent fc3cd6d9ad
commit 4d4979daa9
11 changed files with 188 additions and 245 deletions

View file

@ -57,7 +57,7 @@ Charm = "littensy/charm@VERSION"
#### `observe(atom, observer)`
#### `split(atom, keyExtractor?)`
#### `mapAtom(atom, mapper)`
### Atom
@ -67,7 +67,7 @@ Charm = "littensy/charm@VERSION"
#### `Atom.set(state)`
#### `Atom.memo(equalityFn)`
#### `Atom.memo(areEqual)`
#### `Atom.readonly()`