Hacker News new | ask | show | jobs
by dereke 2921 days ago
> With React there's no weird "v-if ng-if" template logic that you have to grapple with. To me, Handlebars already gave me enough taste of how horrible and limiting maintaining template logic outside of components is.

React was a good step in the right direction. But IMO they lost the plot with things like:

- shouldComponentUpdate(nextProps, nextState)

- componentDidUpdate(prevProps, prevState, snapshot)

and the whole props vs state thing. This adds so much unnecessary complexity to the code base.

Thankfully I can get all the benefits of the react style without any of the awkwardness of its API with hyperdom

https://github.com/featurist/hyperdom