You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'constcountAtom=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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: