News for hackers. Stuff that matters.
Re:Algebraic Effects – You Can Touch This (2019) by seer on Wednesday December 14, 2022 @05:25AM (#33981849)
Well there's https://crank.js.org that uses native js generators where you would you normally put hooks in. Never used it but looked like a very neat idea. I believe Reagent utilises Clojure's native "atom" to accomplish what hooks try to do but with much better language level guarantees.

I guess what js needs is an actual proper language level immutable type, and it wouldn't need all the hooks trickery?

There are no comments on this comment yet.