🥳 Signals To Become Part Of Javascript

Tom Smykowski
7 min readApr 1, 2024

The Ecmascript’s TC39 commitee will discuss working on Signals standardization this month. It’s not an April Fool’s joke. Signal based reactivity may become a standard feature of Javascript

What Is Reactivity ?

Over the last years reactivity became a backbone of all modern frontend frameworks and the React library.

For the people unfamiliar with frontend development it may be an awkward concept at first because it changes the regular, from top to bottom, from caller to calle, sequential workflow.

In the reactivity paradigm, data update automatically when things change, just to show you a plain pseudocode:

           effect: console.log(x+2)
x = 2
x = 3


According to the regular flow of code the output of this would be displaying NaN or something similar because x is not defined, and nothing more than that.

Based on the reactive paradigm an app could display NaN but also 4 and 5 once the value of x changes, without any special effort from the programmer.

I totally simplified the topic, just to give an idea for people who don’t know anything about…

--

--

Tom Smykowski

Software Engineer & Tech Editor. Top 2% on StackOverflow, 3mil views on Quora. Won Shattered Pixel Dungeon.