Effortless animation between DOM changes (eg. list reordering) using the FLIP technique.
Added additional checks to ensure Flip Move works well with preact-compat. These changes, happily, should reduce bugs and ease maintenance in general, not just for preact.
Big thanks to @AlexanderOtavka for their work on this release.
Warnings, like the one given when rendering stateless functional components, would trigger on every re-render, creating a lot of noise when they happen to not be relevant (eg. when using Preact). Warnings will now be limited to once per type. This is a stopgap until we can figure out a better way to handle it.
Big thanks to @Hypnosphi for their work on this.
All primary src files have been type-annotated with Flow. This should be an invisible change to both end users and developers, but because it was a fairly substantial update, it's being trialled as a beta.
@rhys-vdw @yp @haste @AlexanderOtavka If you guys have a sec, could you please install 2.9.9-beta1
and confirm that everything works properly? :)
Huge thanks to @Hypnosphi for their work in this update!
@Hypnosphi pointed out that depending on prop-types isn't as straightforward as I had expected. This patch follows the instructions from the official documentation.
In 2.9.6
, we swapped out React.PropTypes
for the dedicated prop-types
package.
I realized right after publish that it made more sense to move this dependency to peerDependencies
, and to loosen the version restriction to 15.x.x
. This way, users can bring their own version, and NPM won't complain if theirs is a patch or minor version off.
Thanks again to @Hypnosphi for his underlying work on the prop-types
conversion.
Apologies for the rapid-fire releases today!