rc-slider-captcha icon indicating copy to clipboard operation
rc-slider-captcha copied to clipboard

Request for a separate callback for onRefresh

Open dietrich-stein opened this issue 9 months ago • 1 comments

With onRequest as the only callback available for modifying state there is some difficulty in both updating the state and returning it. Would it not be preferred to decouple these concerns using a separate callback, (e.g. onRefresh) in order to manage the state asynchronously from the function that returns the state values to your component?

dietrich-stein avatar May 22 '24 16:05 dietrich-stein