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

No createAtom #8

Closed
3rma1 opened this issue Nov 5, 2021 · 4 comments
Closed

No createAtom #8

3rma1 opened this issue Nov 5, 2021 · 4 comments

Comments

@3rma1
Copy link

3rma1 commented Nov 5, 2021

Is this library maintained? The library has no createAtom exported the documentation is incorrect...

@odama626
Copy link
Owner

odama626 commented Nov 5, 2021

Yes it still maintained, the docs site however is outdated. the full documentation is in the readme and I haven't had the time to update the documentation site

@3rma1
Copy link
Author

3rma1 commented Nov 5, 2021

Thank you for your response and for building this package. I like how simple and flexible it is.
I would recommend that you remove the docs link and just leave the github documentation.
Also an example how to define types would be great, I get any if I provide typed initial state.

@odama626
Copy link
Owner

odama626 commented Nov 8, 2021

While it's written in typescript, I haven't really come up with a good way of passing through types based on the store since you can dynamically add pieces into the store and can pluck out any piece as a useState. if you have any ideas on how to approach that maybe we can get something prototyped for it

@odama626
Copy link
Owner

I know it's been a long time but there is some basic typing on get now

@odama626 odama626 closed this as completed Apr 8, 2024
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