Ability to modify layout and exiting props of a mounted component #5193
lcarrettin
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
@lcarrettin thanks for the suggestions, @bartlomiejbloniarz is working on it! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was looking for a way to modify the layout and exiting props of the elements of a list (as part of an app’s theme change) without having to write overly complicated and performance impacting custom animations, but it seems that these props are not modifiable.
I had a look at the createAnimatedComponent source code and such animations are configured inside _setComponentRef which is triggered by the ref prop assignment that is called only on mount/unmount.
Shouldn’t Layout Animations props behave as all the other props?
Beta Was this translation helpful? Give feedback.
All reactions