I considered doing it in my top-level comment but I decided not to, since I don't actually know enough about monads to be sure that I know what I'm talking about, lol.
Parent poster here, for some reason I never made the connection - but of course jQuery is a monad in the way that Railway Oriented Programming (https://fsharpforfunandprofit.com/rop/) is - which is to say, the thing on which side effects are done, in this case the DOM, is implicit, but in many other ways we're just binding things into a chainable system!
Well, jQuery is how I got introduced to the concept of monads. After that I picked up Haskell, then Elm and Purescript, which allowed me to use the monads the way functional gods intended to... Web scale!
That'd be an interesting alternative reality!
What ended up happening is that I'm writing (having it written by agents) react like everybody else.