Hacker News new | ask | show | jobs
by dereke 2996 days ago
I was hoping they were going to simplify the lifecyles but it looks like they are adding more.

Since I switched to hyperdom[0] I haven't missed lifecycles at all. In fact my app has practically none of the "plumbing" code that my old react apps seemed to have.

Hyperdom is so much simpler but seems to be just as powerful.

[0] http://github.com/featurist/hyperdom/

1 comments

Lifecycles aren't mandatory in React. Pure functional components don't use them. Stateful class components don't necessarily need them either (although they _can_ be useful, particularly when interfacing with imperative APIs like the DOM).

I've never used Hyperdom, so this isn't meant as a criticism or commentary on it.