An (almost) functional approach to dynamic state
Yassine Elouafi
366

I think this article is great! However I have trouble understanding/imagining a few things:

  1. How would one create a generic notifier that isn’t tied to the DOM & event listeners? Say I want to track a value and the value can be changed by the DOM, Http request, socket, etc. not necessarily with both present. I’m having trouble seeing what that would look like?

2. I’m having trouble grasping the react() function. Do you think you can create a codepen with an example of react in action (something simple like todolist or increment/decrement)

Great Job! do you have a twitter handle that I can follow you from?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.