{"action":"created","issue":{"url":"https://api.github.com/repos/omnidan/redux-undo/issues/119","repository_url":"https://api.github.com/repos/omnidan/redux-undo","labels_url":"https://api.github.com/repos/omnidan/redux-undo/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/omnidan/redux-undo/issues/119/comments","events_url":"https://api.github.com/repos/omnidan/redux-undo/issues/119/events","html_url":"https://github.com/omnidan/redux-undo/issues/119","id":174809760,"number":119,"title":"when init , the past.length is always bigger than 0","user":{"login":"wuzeru","id":6448232,"avatar_url":"https://avatars.githubusercontent.com/u/6448232?v=3","gravatar_id":"","url":"https://api.github.com/users/wuzeru","html_url":"https://github.com/wuzeru","followers_url":"https://api.github.com/users/wuzeru/followers","following_url":"https://api.github.com/users/wuzeru/following{/other_user}","gists_url":"https://api.github.com/users/wuzeru/gists{/gist_id}","starred_url":"https://api.github.com/users/wuzeru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuzeru/subscriptions","organizations_url":"https://api.github.com/users/wuzeru/orgs","repos_url":"https://api.github.com/users/wuzeru/repos","events_url":"https://api.github.com/users/wuzeru/events{/privacy}","received_events_url":"https://api.github.com/users/wuzeru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-02T17:27:08Z","updated_at":"2016-09-06T14:42:41Z","closed_at":null,"body":"when the undo init , i found that the 'past' always has value ,even past[0] = []. what's the reason that you design it as this.\r\n\r\nSo , 'state.past.length > 0' will always be true when init.\r\n\r\nIs there any config that i can make 'state.past.length  = 0' when init"},"comment":{"url":"https://api.github.com/repos/omnidan/redux-undo/issues/comments/244972545","html_url":"https://github.com/omnidan/redux-undo/issues/119#issuecomment-244972545","issue_url":"https://api.github.com/repos/omnidan/redux-undo/issues/119","id":244972545,"user":{"login":"omnidan","id":668674,"avatar_url":"https://avatars.githubusercontent.com/u/668674?v=3","gravatar_id":"","url":"https://api.github.com/users/omnidan","html_url":"https://github.com/omnidan","followers_url":"https://api.github.com/users/omnidan/followers","following_url":"https://api.github.com/users/omnidan/following{/other_user}","gists_url":"https://api.github.com/users/omnidan/gists{/gist_id}","starred_url":"https://api.github.com/users/omnidan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omnidan/subscriptions","organizations_url":"https://api.github.com/users/omnidan/orgs","repos_url":"https://api.github.com/users/omnidan/repos","events_url":"https://api.github.com/users/omnidan/events{/privacy}","received_events_url":"https://api.github.com/users/omnidan/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T14:42:40Z","updated_at":"2016-09-06T14:42:40Z","body":"@wuzeru can you provide an example to reproduce this? I just tried adding `console.log(store.getState())` after `createStore` in the [todos-with-undo example](https://github.com/omnidan/redux-undo/tree/master/examples/todos-with-undo), but `state.past.length` is `0`.\r\n\r\n![https://i.imgur.com/qoVCLrZ.png](https://i.imgur.com/qoVCLrZ.png)"}}
{"actor":{"display_login":"omnidan"}}