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

Make possible to use the state from within hooks once it has been instantiated the first time #24

Open
widoz opened this issue Feb 13, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@widoz
Copy link
Member

widoz commented Feb 13, 2024

Currently the only way to retrieve the state and the dispatch is to use the useEntitiesOptionsStorage hook, but that would mean that if I have to consume one of the two mentioned above I have to pass them and that requires additional parameters we can avoid if we allow the components and other hooks to access the state and dispatch directly by calling useEntitiesOptionsStorage.

@widoz widoz added documentation Improvements or additions to documentation enhancement New feature or request labels Feb 13, 2024
@widoz widoz added this to Kensaku Jun 26, 2024
@widoz widoz moved this to Planned in Kensaku Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
Status: Planned
Development

No branches or pull requests

1 participant