Sorry, you seem to hint at knowing this already. But, to clarify,
* Hooks - `setState` reruns the full code for your component.
* Signals - only the dependent effects/computed/JSX is run.
* Hooks - `setState` reruns the full code for your component.
* Signals - only the dependent effects/computed/JSX is run.
What I'm complaining about is that the signals seem to have the exact same semantics and use cases with different implementations and performance characteristics.
SolidJs shows you can get most of the functionality of hooks using signals. Who knows, if someday most Preact users converge to using signals for state management, maybe they will throw out hooks altogether. But in their current context, supporting both hooks and signals feels a reasonable choice to me.