Animate: Deprecate component and stabilize getAnimateClassName#27390
Animate: Deprecate component and stabilize getAnimateClassName#27390
Conversation
|
Size Change: +60 B (0%) Total Size: 1.28 MB
ℹ️ View Unchanged
|
b678aad to
184611c
Compare
184611c to
3db0486
Compare
|
Do we know whether G2 is bringing its own set of animation primitives? Is it maybe a bit soon to stabilize new animation APIs? |
@ItsJonQ Can you weigh in? The reason for stabilizing here is to provide an alternative to the If we'd prefer to leave these as they are, I'm fine with closing this. |
@sirreal + @youknowriad Sure! he G2 components have an These primitives work completely differently compared to the current WP component As such, they won't be compatible with something like With that in mind, perhaps it's better to hold off creating a Hope this helps! |
|
I'll close this. |
Description
Follow-up to #27123. Stabilize the
getAnimateClassNamefunction and deprecate the Animate component.Animatecomponent as suggested (Animate: Add types and simplify API #26965 (comment))getAnimateClassNamefunction, suggested alternative toAnimate.(Slightly outdated screenshot of deprecation message)
Suggested Dev Note
The
Animatecomponent from@wordpress/componentshas been deprecated and is scheduled for removal in Gutenberg 9.8. Please migrate to use thegetAnimateClassNamefunction from@wordpress/components.How has this been tested?
Screenshots
Types of changes
New feature:
getAnimateClassNamefunction from@wordpress/componentsDeprecation:
AnimateComponent (scheduled for 9.7)Checklist: