Recompose: Recommending Hooks API before it is has been accepted in React

Created on 25 Oct 2018  路  6Comments  路  Source: acdlite/recompose

First off, thank you for the great library.

I realize that @acdlite is a core dev on the react team, but Is it smart to announce no future maintenance and recommending hooks when the feature is still a proposal and has not been accepted into the core react library? Would also love to see some examples on how you believe the new hooks api solves the same problems, as I personally am still not seeing the api to be as powerful as the composability of a library like recompose.

Most helpful comment

I think it's coming no matter what, but the names / implementation might change slightly.

Facebook said they've been using it in prod for a month already.

All 6 comments

You will have much more freedom with hooks

I had not, you are right this could help a lot.

Isn't this still just a proposal? Which means it may not be added to React core.

I think it's coming no matter what, but the names / implementation might change slightly.

Facebook said they've been using it in prod for a month already.

Nothing is changing in practice. Andrew鈥檚 wording was too strong but he didn鈥檛 mean the library would suddenly become unsupported.

Your code will continue to work, and new versions for newer React updates will continue to be released. And Andrew hasn鈥檛 personally been working on Recompose for two years so that hasn鈥檛 changed either.

See my reply in https://github.com/acdlite/recompose/issues/756#issuecomment-438674573.

Thanks @gaearon. I am going to close this issue as #756 seems to be discussing the same thing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Secretmapper picture Secretmapper  路  3Comments

astanciu picture astanciu  路  3Comments

jeron-diovis picture jeron-diovis  路  4Comments

nemocurcic picture nemocurcic  路  3Comments

joncursi picture joncursi  路  3Comments