Skip to content

v2.3.0

Choose a tag to compare

@joshwcomeau joshwcomeau released this 29 May 12:50
· 205 commits to master since this release

Delegated HTML attributes

FlipMove creates a wrapping component over the children supplied, and this component has been notoriously hard to tweak. I added className and style props for people to specify those specific attributes, but others have wanted much more control over the wrapping node.

This feature separates all non-FlipMove props into a delegatedProps object, and applies those attributes directly to the created DOM node.

This means that you can pass any prop you want to <FlipMove />, and it'll be transferred over to the new node :)

Closes #50