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

Custom updaters as props for use in abstracted methods #372

Open
jamesrweb opened this issue May 5, 2024 · 0 comments
Open

Custom updaters as props for use in abstracted methods #372

jamesrweb opened this issue May 5, 2024 · 0 comments
Labels
documentation Pull requests that update project documentation enhancement good first issue help wanted

Comments

@jamesrweb
Copy link
Collaborator

jamesrweb commented May 5, 2024

In the use case described by @hanhanxue in #371, we should be able to allow abstracted methods to reach and update state in a cleaner manner than is currently possible. We are limited by React itself at the moment as it does not allow us to use set state down tree within the useEffect handler we have for updateWithProps. Maybe there is another way? 💭

@jamesrweb jamesrweb added enhancement help wanted documentation Pull requests that update project documentation good first issue labels May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Pull requests that update project documentation enhancement good first issue help wanted
Projects
None yet
Development

No branches or pull requests

1 participant