Ryan Florence
@ryanflorence
Thanks to flushSync
, you can finally manage focus in React again 🙌 (but I will always love this.setState)
@Tylopilus I’d probably say @TkDodo is “holding it wrong” in that article, hijacking’s callback refs for mount effects isn’t the intent of the API. Callback refs were introduced (before hooks) as a replacement of string refs, enabling better composition of components and refs.
Nov 8, 2023, 9:01:41 PM
Tweet by @ryanflorence
···