{"action":"closed","issue":{"url":"https://api.github.com/repos/chenglou/react-motion/issues/240","labels_url":"https://api.github.com/repos/chenglou/react-motion/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/chenglou/react-motion/issues/240/comments","events_url":"https://api.github.com/repos/chenglou/react-motion/issues/240/events","html_url":"https://github.com/chenglou/react-motion/issues/240","id":116480935,"number":240,"title":"Question: Any thoughts on react-motion + Web Animation spec?","user":{"login":"hitsthings","id":631812,"avatar_url":"https://avatars.githubusercontent.com/u/631812?v=3","gravatar_id":"","url":"https://api.github.com/users/hitsthings","html_url":"https://github.com/hitsthings","followers_url":"https://api.github.com/users/hitsthings/followers","following_url":"https://api.github.com/users/hitsthings/following{/other_user}","gists_url":"https://api.github.com/users/hitsthings/gists{/gist_id}","starred_url":"https://api.github.com/users/hitsthings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitsthings/subscriptions","organizations_url":"https://api.github.com/users/hitsthings/orgs","repos_url":"https://api.github.com/users/hitsthings/repos","events_url":"https://api.github.com/users/hitsthings/events{/privacy}","received_events_url":"https://api.github.com/users/hitsthings/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-12T05:09:52Z","updated_at":"2015-11-19T10:04:12Z","closed_at":"2015-11-19T10:04:12Z","body":"I'm only now looking at react-motion. Despite how awesome react-motion looks, the perf implications of style-recalc are not ideal.\r\n\r\nDo you have any thoughts on using the near-future [Web Animation APIs](http://www.w3.org/TR/web-animations/) as [seen in Chrome](https://developers.google.com/web/updates/2014/05/Web-Animations-element.animate-is-now-in-Chrome-36) under the hood to deal with realizing the react-motion animations in the DOM?\r\n\r\nI would think the API would have to change a little bit or perhaps this would be another library that builds on react-motion. But your react-europe 2015 demos show that you could feed future states to element.animate() to do the actual DOM animation, and in theory you could cancel the animation and replace it with a new one if those precalculated future states are no longer what you predicted they would be.\r\n\r\nIs this something that has been discussed at all? Are there reasons it wouldn't work?\r\n\r\nThanks for any guidance!\r\n\r\n"}}