react icon indicating copy to clipboard operation
react copied to clipboard

Custom updaters as props for use in abstracted methods

Open jamesrweb opened this issue 1 year ago • 0 comments

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 avatar May 05 '24 17:05 jamesrweb