Design Patterns · Senior · Question 1 of 75

How does the "signals" model (Solid, Preact Signals, Angular Signals) differ from React's model?

Explanation

A signal is a reactive value (Observer): reading registers a dependency, and writing updates exactly its subscribers (text, an attribute, a computation). React instead re-renders the component and diffs the virtual tree; the React Compiler reduces that cost, but the model is different.

Further reading

Problem with a question

Design Patterns · Senior · question 1

Test yourself

Take the Design Patterns · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz