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

RFC: useDynamicStateFactory #211

Closed
wants to merge 1 commit into from

Conversation

tkow
Copy link

@tkow tkow commented Feb 7, 2022

This rfc is about child's state can be defined in children components using method in this innerHooks proposal and easily obtain controlling whole state by dynamically generating state and handler as much as you need as you add more components. It is also easily to remove because a partial state of whole state mutation is not depend on any other components without itself in my proposal way.

My proposal is simulated by hoc in Code Sand Box.

view RFC

@tkow tkow force-pushed the feat/use-dynamic-state-factory branch 5 times, most recently from bb2651b to e6858ae Compare February 7, 2022 07:47
@tkow tkow force-pushed the feat/use-dynamic-state-factory branch from e6858ae to aa4c0c3 Compare February 7, 2022 08:05
@tkow
Copy link
Author

tkow commented Feb 11, 2022

I also made library realized this concept.
See if you interested in it see this link.

@tkow
Copy link
Author

tkow commented Feb 16, 2022

I close this issue because this proposal's rejected in the past.
I found this article.

@tkow tkow closed this Feb 16, 2022
@tkow tkow deleted the feat/use-dynamic-state-factory branch February 16, 2022 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants