chenglou / chenglou/react-motion

Option for state-based transition animations?

Open
#515 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
21.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

React-Transition-Group allows the developer to specify the `in` and `out` parameters, such that they can overwrite the mounting and unmounting conditions. Rather than relying on whether a DOM node with certain keys is entering or leaving, we can instead specify that `in` is when `state.show === true` and `out` is when `state.show === false`. I think this would be extremely helpful.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.