{"action":"opened","issue":{"url":"https://api.github.com/repos/glennreyes/react-countup/issues/90","repository_url":"https://api.github.com/repos/glennreyes/react-countup","labels_url":"https://api.github.com/repos/glennreyes/react-countup/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/glennreyes/react-countup/issues/90/comments","events_url":"https://api.github.com/repos/glennreyes/react-countup/issues/90/events","html_url":"https://github.com/glennreyes/react-countup/issues/90","id":349849423,"node_id":"MDU6SXNzdWUzNDk4NDk0MjM=","number":90,"title":"Autostart and Start via button examples are the same in README","user":{"login":"lifayt","id":6384041,"node_id":"MDQ6VXNlcjYzODQwNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/6384041?v=4","gravatar_id":"","url":"https://api.github.com/users/lifayt","html_url":"https://github.com/lifayt","followers_url":"https://api.github.com/users/lifayt/followers","following_url":"https://api.github.com/users/lifayt/following{/other_user}","gists_url":"https://api.github.com/users/lifayt/gists{/gist_id}","starred_url":"https://api.github.com/users/lifayt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifayt/subscriptions","organizations_url":"https://api.github.com/users/lifayt/orgs","repos_url":"https://api.github.com/users/lifayt/repos","events_url":"https://api.github.com/users/lifayt/events{/privacy}","received_events_url":"https://api.github.com/users/lifayt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-12T22:30:12Z","updated_at":"2018-08-12T22:30:12Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nIt seems like the examples in the readme that demonstrate autostart are the same as the examples that demonstrate using a start button, with the exception that the second example has a delay attached. e.g. Certainly in practice neither of the two examples autostarts.\r\n\r\n```\r\n<CountUp start={0} end={100}>\r\n  {({ countUpRef, start }) => (\r\n    <div>\r\n      <span ref={countUpRef} />\r\n      <button onClick={start}>Start</button>\r\n    </div>\r\n  )}\r\n</CountUp>\r\n```\r\nvs \r\n```\r\n<CountUp start={0} end={100} delay={2}>\r\n  {({ countUpRef, start }) => (\r\n    <div>\r\n      <span ref={countUpRef} />\r\n      <button onClick={start}>Start</button>\r\n    </div>\r\n  )}\r\n</CountUp>\r\n```"}}
{"actor":{"display_login":"lifayt"}}