sghall / react-move

React Move | Beautiful, data-driven animations for React
https://react-move-docs.netlify.app
MIT License
6.58k stars 168 forks source link

Using NodeGroup with function components with Hooks does not update #57

Closed vijayst closed 5 years ago

vijayst commented 5 years ago

Problem or feature description

I am using NodeGroup with function component with hooks. The update is not getting triggered.

CodeSandbox

Steps to reproduce (only needed for problems)

The Linechart is animated with enter animation. However, on hovering over the circles, the update animation is not triggered. I expect the opacity to be 0.1 due to the update animation.

Versions (only needed for problems)

vijayst commented 5 years ago

This is not a bug with NodeGroup. The data was not mutated, so the update transition was not triggered. Closing the issue.