-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Remove usage of createFactory
#806
Comments
Was looking to see how hard this would be an it does look a bit daunting! createFactory returns a function that creates an element and createElement returns an element. Looks like the library is using createFactory to defer the mapping of props. I wonder if it would make sense to bring the createFactory logic into this library and have it use createElement, that means the warning would go away, but if createFactory is relying on internals..... (which it isn't)
Not really sure WHY they are dropping support for |
to avoid using the deprecated React.createFactory function (and update .size-snapshot.json) resolves acdlite#806
Is this fixed? |
Since this method ( |
Now that our projects have moved to React 17 we are now also seeing this warning from another npm package we use that itself uses |
In [email protected] this library triggers a warning:
It looks like this repository uses this API in quite a few places, so perhaps this should be refactored?
The text was updated successfully, but these errors were encountered: