Conversation
|
There's also #87 where the opposite is requested. Maybe this could be renamed and turned into a three-option enum: "always", "onMount", "onUpdate" |
|
Thank you for your PR! I think the enum approach would be better, would you mind updating the PR with this? |
|
This something I would want as well. I can continue on the PR if @AlicanC no longer need this? What would be the expected behaviour for |
We need this and we are using our fork for it. I don't have any time to spend for a PR though, so continue as you wish.
Yes, this was the behavior we needed. |
|
can we have a animating={true} will start animation? @oblador what do you think of this approach? we can check on componentDidUpdate if prop has updated to start and stop animation |
Fixes #186
Note: A better name could be decided for the prop.