Preact Signals
The implementation involves unsafe monkey-patching:<p>1. For React, a hook is injected into <i>every single component (!)</i> regardless of whether it uses signals or not via __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.<p>2. For React, React.createElement is patched so that it can render signal values as Text nodes.<p>3. For Preact, they claim it's using a "pluggable renderer", yet they monkey-patch the global shouldComponentUpdate (and they don't call the old one so they break other patchy libraries)<p>[1] - <a href="https://github.com/preactjs/signals/blob/d25e8bac09c94ed3bad7f12fe380becd8bf1a7ad/packages/react/src/index.ts#L131" rel="nofollow">https://github.com/preactjs/signals/blob/d25e8bac09c94ed3bad...</a><p>[2] - <a href="https://github.com/preactjs/signals/blob/d25e8bac09c94ed3bad7f12fe380becd8bf1a7ad/packages/react/src/index.ts#L27" rel="nofollow">https://github.com/preactjs/signals/blob/d25e8bac09c94ed3bad...</a><p>[3] - <a href="https://github.com/preactjs/signals/blob/d25e8bac09c94ed3bad7f12fe380becd8bf1a7ad/packages/preact/src/index.ts#L227" rel="nofollow">https://github.com/preactjs/signals/blob/d25e8bac09c94ed3bad...</a>