make optics part of the Klyva tagline. it's the thing that really sets this lib apart from all others. good to communicate that from the start.
considering optics is such a big thing in this library, I think it would be great to give some practical examples.
start examples with import statement, e.g.
import {atom} from 'klyva'
const countAtom = atom(5)
I know it's written in the docs but I still didn't parse it completely when I read it: it's if you want your component to update when an atom changes, you gotta use the useAtom or useSelector hook in that component.
Some things that came up when trying out Klyva:
make optics part of the Klyva tagline. it's the thing that really sets this lib apart from all others. good to communicate that from the start.
considering optics is such a big thing in this library, I think it would be great to give some practical examples.
start examples with import statement, e.g.
useAtom
oruseSelector
hook in that component.