klyva
klyva copied to clipboard
README.md suggestions
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.
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
oruseSelector
hook in that component.
Hey Eelke, thanks for the issue :)
I agree 100%, currently thinking about how this will be done.