{"action":"created","issue":{"url":"https://api.github.com/repos/omnidan/redux-undo/issues/25","labels_url":"https://api.github.com/repos/omnidan/redux-undo/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/omnidan/redux-undo/issues/25/comments","events_url":"https://api.github.com/repos/omnidan/redux-undo/issues/25/events","html_url":"https://github.com/omnidan/redux-undo/issues/25","id":125099875,"number":25,"title":"Cannot undo when state is an array","user":{"login":"PepperYan","id":2188161,"avatar_url":"https://avatars.githubusercontent.com/u/2188161?v=3","gravatar_id":"","url":"https://api.github.com/users/PepperYan","html_url":"https://github.com/PepperYan","followers_url":"https://api.github.com/users/PepperYan/followers","following_url":"https://api.github.com/users/PepperYan/following{/other_user}","gists_url":"https://api.github.com/users/PepperYan/gists{/gist_id}","starred_url":"https://api.github.com/users/PepperYan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PepperYan/subscriptions","organizations_url":"https://api.github.com/users/PepperYan/orgs","repos_url":"https://api.github.com/users/PepperYan/repos","events_url":"https://api.github.com/users/PepperYan/events{/privacy}","received_events_url":"https://api.github.com/users/PepperYan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-06T02:55:54Z","updated_at":"2016-01-06T03:04:49Z","closed_at":"2016-01-06T03:04:49Z","body":"I saw redux-undo on redux doc. When I trying to use it in my demo project, I found it not work at all when the state is an array. Without undoable, everything is just fine. After I use undoable wrap my reducer, the state became an Object, but it should be an array. "},"comment":{"url":"https://api.github.com/repos/omnidan/redux-undo/issues/comments/169205960","html_url":"https://github.com/omnidan/redux-undo/issues/25#issuecomment-169205960","issue_url":"https://api.github.com/repos/omnidan/redux-undo/issues/25","id":169205960,"user":{"login":"PepperYan","id":2188161,"avatar_url":"https://avatars.githubusercontent.com/u/2188161?v=3","gravatar_id":"","url":"https://api.github.com/users/PepperYan","html_url":"https://github.com/PepperYan","followers_url":"https://api.github.com/users/PepperYan/followers","following_url":"https://api.github.com/users/PepperYan/following{/other_user}","gists_url":"https://api.github.com/users/PepperYan/gists{/gist_id}","starred_url":"https://api.github.com/users/PepperYan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PepperYan/subscriptions","organizations_url":"https://api.github.com/users/PepperYan/orgs","repos_url":"https://api.github.com/users/PepperYan/repos","events_url":"https://api.github.com/users/PepperYan/events{/privacy}","received_events_url":"https://api.github.com/users/PepperYan/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T03:04:49Z","updated_at":"2016-01-06T03:04:49Z","body":"Sorry,that is my fault. I didn't use it right"}}