reactjs / react-transition-group

An easy way to perform animations when a React component enters or leaves the DOM
https://reactcommunity.org/react-transition-group/
Other
10.1k stars 652 forks source link

refactor: apply more strict types to ReplaceTransition #812

Closed koba04 closed 2 years ago

koba04 commented 2 years ago

This is a follow-up PR of #809. I've applied more strict types to ReplaceTransion, which couldn't be done at #809 to avoid being treated as add/remove because of many diffs.

koba04 commented 2 years ago

After this PR, I'll work on creating .d.ts files from the source code, which would be a breaking change for TS users.