3 ms·
Well there's https://crank.js.org https://crank.js.org that uses native js generators where you would you normally put hooks in. Never used it but looked like a
by seer 4y ago
Well there's https://crank.js.org 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?