Most modern JavaScript UI frameworks boast Reactivity, but have you ever wondered what that means exactly?
In my opinion, Reactivity is largely responsible for making modern frontend development unintuitive to outsiders.
This blog post explains what Reactivity is, and how it manifested in the frontend development world today.
You might find this interesting if you’re: a frontend dev unfamiliar with the concept, a non-frontend dev interested in frontend, or just curious what Reactivity is!
Code example looks wrong?
null
is passed as updater to a. As far as I understand, what is passed as callback to a is supposed to be the updater instead (especially since the ctor errors on both val and updater being null). Also, would be more clear what the difference and usage ofupdater
andcallback
are if they were called something likecalcVal
andonValChanged
respectively