Demonstrating a use case for using useSyncExternalStore instead of useEffect/useState for subscribing to DOM events
I created a wrapper around useSyncExternalStore to provide a convenient API for listening to web events. I can give a presentation on how a typical setup with useEffect and useState can cause tearing, and a way to solve the issue.