SIGN IN SIGN UP

perf: reduce impact of clipboard migrations (#10390)

* perf: reduce impact of clipboard migrations

instanceof is faster than checking the registry. we can also short
circuit if the patch is empty or already has the new component.

* cleanup unused import
Q
Qther committed
32e0a2c16cb30f2387bb0e50a75797d472ea3643
Parent: 802dddd
Committed by GitHub <noreply@github.com> on 5/26/2026, 12:38:33 PM