Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix warnings emanating from Velociraptor elements #372

Merged
merged 1 commit into from
Aug 1, 2016

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Aug 1, 2016

We are no longer allowed to stick random properties on child properties, and
the Velociraptor animations were causing some React warnings.

Move the startStyles and enterTransitionOpts properties up to the Velociraptor
node, and avoid setting arbitrary props on the created children. This is less
flexible, as it assumes that all children will have the same start style;
however, we weren't using the flexibility, and we can always replace the array
with a map or a function or something if we need it in the future.

We are no longer allowed to stick random properties on child properties, and
the Velociraptor animations were causing some React warnings.

Move the startStyles and enterTransitionOpts properties up to the Velociraptor
node, and avoid setting arbitrary props on the created children. This is less
flexible, as it assumes that all children will have the same start style;
however, we weren't using the flexibility, and we can always replace the array
with a map or a function or something if we need it in the future.
@dbkr dbkr merged commit 0ad23fa into develop Aug 1, 2016
@richvdh richvdh deleted the rav/velociraptor_warnings branch August 10, 2016 10:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants