{"action":"closed","issue":{"url":"https://api.github.com/repos/chenglou/react-motion/issues/41","labels_url":"https://api.github.com/repos/chenglou/react-motion/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/chenglou/react-motion/issues/41/comments","events_url":"https://api.github.com/repos/chenglou/react-motion/issues/41/events","html_url":"https://github.com/chenglou/react-motion/issues/41","id":94415105,"number":41,"title":"Extract animation logic so that it can be used outside components","user":{"login":"dariocravero","id":376268,"avatar_url":"https://avatars.githubusercontent.com/u/376268?v=3","gravatar_id":"","url":"https://api.github.com/users/dariocravero","html_url":"https://github.com/dariocravero","followers_url":"https://api.github.com/users/dariocravero/followers","following_url":"https://api.github.com/users/dariocravero/following{/other_user}","gists_url":"https://api.github.com/users/dariocravero/gists{/gist_id}","starred_url":"https://api.github.com/users/dariocravero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariocravero/subscriptions","organizations_url":"https://api.github.com/users/dariocravero/orgs","repos_url":"https://api.github.com/users/dariocravero/repos","events_url":"https://api.github.com/users/dariocravero/events{/privacy}","received_events_url":"https://api.github.com/users/dariocravero/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-10T23:52:06Z","updated_at":"2015-07-11T19:01:02Z","closed_at":"2015-07-11T19:01:02Z","body":"The physics around the motion are super useful for other stuff that might not be React related; e.g., animating scroll - which may need to happen after render.\r\nWould it make sense to extract the animation logic into its own module/function so that it can be used outside React's lifecycle? Am I trying to use this in the wrong way altogether? :) Thanks"}}