> Why did you choose Preact to build the directives system? Why not React or another JavaScript framework?
> It’s HTML-friendly (unlike React).

—WordPress core commenting on their Interactivity API proposal.

https://make.wordpress.org/core/2023/03/30/proposal-the-interactivity-api-a-better-developer-experience-in-building-interactive-blocks/#why-preact

via @developit