yarn react-flip-move 2.9.2
v2.9.2

latest releases: 3.0.5, 3.0.4, 3.0.3...
7 years ago

Disable dev warnings in production

Prior to this release, all warnings (such as when SFCs were passed as children, invalid animation presets were used, etc) would log regardless of environment. This patch ensures that these warnings are suppressed when process.env.NODE_ENV is set to "production".

It also grants a minor perf win, as the check for logging SFC warnings involved iterating through the children. This work is no longer done in production.

Thanks to @AlexanderOtavka for their contribution!

Don't miss a new react-flip-move release

NewReleases is sending notifications on new releases.