-
Notifications
You must be signed in to change notification settings - Fork 1.2k
React.createFactory is deprecated #795
base: master
Are you sure you want to change the base?
Conversation
Any update on this? |
Anything I can do to help with merging this one? This warning spams our tests / runtime... |
Can We help to fix this? |
Hello, it seems that this repository is not maintained any more. I have just created this new one npm package (https://www.npmjs.com/package/myapos_recompose) that is forked from the original recompose. It contains the fix that @Hypnosphi mentioned. If you want you can check it in the following url: I already checked it in my projects and it seems that the deprecation warning is resolved. Also I in order to preserve all the imports from recompose and reduce refactoring in my source code, I used an alias in [
"module-resolver",
{
"alias": {
"recompose": "./node_modules/myapos_recompose"
}
}
] I hope that helps. |
I also published my fork to npm as |
Thanks for publishing this @Hypnosphi 🙌 , for anyone else who tried to copy and paste that forked package name, the |
@myapos Is it your recommendation to use @Hypnosphi package? I liked that your version updated the |
@Hypnosphi wow it seems like you can merge :O Thank you to whoever is involved in bringing the library to life. At least to deal with the deprecations... |
Looks like @Naismith is not a maintainer of this repo, so unfortunately his approval doesn't count. And I wouldn't be able to merge even if he was, only maintainers can do that |
https://reactjs.org/blog/2020/02/26/react-v16.13.0.html#deprecating-reactcreatefactory