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

Allow controlling normy internal data #12

Open
klis87 opened this issue Nov 28, 2023 · 0 comments
Open

Allow controlling normy internal data #12

klis87 opened this issue Nov 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@klis87
Copy link
Owner

klis87 commented Nov 28, 2023

Currently createNormalizer has internal data which is private.

It would be handy to allow something like controlled version of createNormalizer, like controlled React component.

A value and setter prop could be passed, so that createNormalizer consumer would own data.

Then, data could be stored anywhere, like in Redux store, or React state. This could be useful for normy addons.

@klis87 klis87 added the enhancement New feature or request label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant