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

feat: explore where we can use nano for state management #113

Open
ayoayco opened this issue Oct 19, 2022 · 1 comment
Open

feat: explore where we can use nano for state management #113

ayoayco opened this issue Oct 19, 2022 · 1 comment

Comments

@ayoayco
Copy link
Member

ayoayco commented Oct 19, 2022

https://docs.astro.build/en/core-concepts/sharing-state/

@Icyscools
Copy link
Member

I think it can be used to manage the state in FormControl and FormGroup. In FormGroup will get all states from FormControl and listen for changes.

With this, FormGroup will listen to whatever its controls state change, then notify to the callback function which the users/developers can designate for particular use cases.

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