Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md suggestions #31

Open
godspeedelbow opened this issue Feb 3, 2021 · 1 comment
Open

README.md suggestions #31

godspeedelbow opened this issue Feb 3, 2021 · 1 comment

Comments

@godspeedelbow
Copy link

godspeedelbow commented Feb 3, 2021

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 or useSelector hook in that component.
@merisbahti
Copy link
Owner

Hey Eelke, thanks for the issue :)

I agree 100%, currently thinking about how this will be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants