4 ms·
> React gives me the feeling that it's trying to come up with hacks to shoehorn imperative UI React IS a hack to shoehorn declarative UI into an imperative lan
by sudhirj 8y ago
> React gives me the feeling that it's trying to come up with hacks to shoehorn imperative UI
React IS a hack to shoehorn declarative UI into an imperative language and DOM system. All further progress in the field is going to be a collection of hacks.
ReasonML, Elm etc are clear ways forward that attempt to start from a clean slate, but you're trying to do declarative UI on JS+DOM, everything is going to be a hack. React is just the nicest currently available hack.
- jakelazaroff 8y agoBy this logic, though, everything declarative is a hack. Computers are imperative. At some point everything becomes an instruction; dig deep enough and all declarative code calls imperative code.
- deleted 8y ago[deleted]