3 ms·
Pure functions with clearly defined type signatures are always preferable, in my opinion, because there is far less thinking involved. Elm's vdom is done in thi
by dwhitney 6y ago
Pure functions with clearly defined type signatures are always preferable, in my opinion, because there is far less thinking involved. Elm's vdom is done in this way, as is the vdom used in PureScript Halogen.
React is great, and groundbreaking, but with 20/20 hindsight, there are better ways.