Components: Assess stabilization of View#61074
Conversation
mirka
left a comment
There was a problem hiding this comment.
I think we should go with a passive deprecation on this one, since this is mostly used for the Emotion as prop, and we're moving away from both Emotion and as patterns. I don't think this ever has to be used anywhere.
We may have to eventually move to a stronger deprecation, depending on what we decide to do about Emotion/as.
|
@lena Thanks! What should we document in the deprecation comment as the alternative for this component? |
ViewView
AFAIU, this is already being passively deprecated as per #61099, no? Do you mean that we shouldn't re-report the unprefixed Thanks! |
Issue: #59418.
What?
This is part of a larger effort to remove
__experimentalprefix from all "experimental" components, effectively promoting them to regular stable components. See the related issue for more context.Why?
The strategy of prefixing exports with
__experimentalhas become deprecated after the introduction of private APIs.How?
__experimentalprefix;__experimentalexport for backwards compatibility;__experimentalin GB and components to the one without the prefix (including in storybook stories). Also, update the docs to refer to the new unprefixed component;id(get it from the storybook URL) to thePREVIOUSLY_EXPERIMENTAL_COMPONENTSconst array inmanager-head.htmlso that old experimental story paths are redirected to the new one;