Explain (Timeline) Monads Like I'm Five

Rasmus Schultz - Feb 11 '19 - - Dev Community

I came across this interesting looking library:

https://stken2050.github.io/unlimitedjs/

It appears to be a simpler alternative to React and hooks - and the author makes it look very appealing in terms of being very simple and generic. It looks like this concept composes well, using plain JS that doesn't require any magic or a linter.

The documentation uses a lot of science jargon though - and the links to articles that explain the concepts are even worse, and the library code has been pretty heavily code-golfed.

I'm not a computer scientist, so...

  • What's special about a timeline monad?

  • How does it differ from a plain old pub/sub event-bus?

  • What's the advantage over pub/sub in the context of UI?

  • Does this somehow help with "unpredictable" events, like, say, chat messages?

Explain like I'm five please? 🙂

. . . . . . . . . . . . . . . . . .