Please update Direct Manipulation docs with setNativeProps
's deprecation status
#3106
Labels
Stale
Issues/PR that are not getting much activity and are closer to be closed
Description
It's currently unclear if
setNativeProps
is deprecated or not:element.setNativeProps
was used; these were then removed in Stop warning about setNativeProps being deprecated react#17045 but it appears the intention is still to deprecate, just not show warnings in existing apps?setNativeProps
not being supported at all in Fabric.Presumably this includes the
setNativeProps(ref)
usage as well as theelement.setNativeProps
usage? For example see:What is the problem?
It should be clear from the latest version of the docs what the status is. Are either or both of the
element.setNativeProps
and/orsetNativeProps(ref)
usage patterns deprecated?How can we address it?
Please update the docs to say what the current status (e.g. I think it's not supported in Fabric, and is planned to be deprecated?)
Why is it important?
If a decision has been made to deprecate or drop a feature, that should be apparent from the docs; if it's not then the docs aren't succeeding in being the main source of truth on such things.
Currently it appears a decision has been made, but it's not clear what that decision is because it's fragmented across various issues, discussions, PR comments etc.
Who needs this?
Any developer using or considering using
setNativeProps
.When should this happen (use version numbers if needed)?
Depends on what the status is (I can't see for sure because the discussion is fragmented).
The text was updated successfully, but these errors were encountered: