Conversation
|
Size Change: +8 B (0%) Total Size: 1.19 MB
ℹ️ View Unchanged
|
39ebf5a to
8d7f5a2
Compare
| export { | ||
| default as Animate, | ||
| useAnimate as __unstableUseAnimate, | ||
| getAnimateClassName as __experimentalGetAnimateClassName, |
There was a problem hiding this comment.
I just noticed this was __unstable - not intended for use outside of Gutenberg. Should it stay that way?
There was a problem hiding this comment.
If we're confident in the API, we can stabilise it? The question is, do we intend to use this for future animations, or are there new methods there days? Cc @jasmussen.
There was a problem hiding this comment.
I'm sad to say I've not had enough of a chance to leverage this one quite yet, to make a call. However I recall @youknowriad being pretty excited about it?
or are there new methods there days?
I think there's a place for both, perhaps even with emphasis on the class.
There was a problem hiding this comment.
Maybe I can land this PR with the rename and keep it marked unstable. A follow-up could mark it experimental or stabilize.
Restored unstable in d510658
0f71b55 to
d510658
Compare
|
@ellatrix I know you approved this, but it wasn't ready at the time so I'm disregarding. I can't actually dismiss the review for some reason 🤷♂️ I do think it's ready for review at this time 🙇♂️ |
|
Thanks for catching those mistakes, @saramarcondes. I've cleaned them up. |
|
Consider my approval given for any additional commits. Looks like there's still a few tests failures, but other than that it looks good! |
c2d6dba to
44e5917
Compare
53d9699 to
b0cadc6
Compare
|
I'll break this into 2 PRs - we shouldn't deprecate |
Description
useAnimatetogetAnimateClassName(publicly__unstableGetAnimateClassName) and treat it as a regular function. It's implementation is not like a hook and it doesn't need to be treated as one.getAnimateClassName.Closes #26965 (supersedes).
How has this been tested?
Types of changes
getAnimateClassName.Checklist: