Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or the use of something like recompose[1]'s `lifecycle` function[2].

1: https://github.com/acdlite/recompose

2: https://github.com/acdlite/recompose/blob/8c4ac2e4/docs/API....



Yeah, although that itself is implemented internally using an ES6 class:

https://github.com/acdlite/recompose/blob/8c4ac2e4a4cd8d60c8...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: