{"action":"created","issue":{"url":"https://api.github.com/repos/rematch/rematch/issues/509","repository_url":"https://api.github.com/repos/rematch/rematch","labels_url":"https://api.github.com/repos/rematch/rematch/issues/509/labels{/name}","comments_url":"https://api.github.com/repos/rematch/rematch/issues/509/comments","events_url":"https://api.github.com/repos/rematch/rematch/issues/509/events","html_url":"https://github.com/rematch/rematch/issues/509","id":355334733,"node_id":"MDU6SXNzdWUzNTUzMzQ3MzM=","number":509,"title":"[QUESTION] How to use redux-undo with rematch?","user":{"login":"Squeegy","id":482,"node_id":"MDQ6VXNlcjQ4Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/482?v=4","gravatar_id":"","url":"https://api.github.com/users/Squeegy","html_url":"https://github.com/Squeegy","followers_url":"https://api.github.com/users/Squeegy/followers","following_url":"https://api.github.com/users/Squeegy/following{/other_user}","gists_url":"https://api.github.com/users/Squeegy/gists{/gist_id}","starred_url":"https://api.github.com/users/Squeegy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Squeegy/subscriptions","organizations_url":"https://api.github.com/users/Squeegy/orgs","repos_url":"https://api.github.com/users/Squeegy/repos","events_url":"https://api.github.com/users/Squeegy/events{/privacy}","received_events_url":"https://api.github.com/users/Squeegy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-29T21:10:43Z","updated_at":"2018-08-29T23:41:07Z","closed_at":"2018-08-29T23:41:07Z","author_association":"NONE","body":"I'm having a doozy of a time trying to get rematch to play nice with [redux-undo](https://github.com/omnidan/redux-undo)\r\n\r\nIt seems to want you do `undoable(reducer)`, but it expects the reducer to be in redux standard format:\r\n\r\n```js\r\n(state, action) => newState\r\n````\r\n\r\nWhere rematch uses this:\r\n\r\n```\r\n{\r\n  [actionType]: (state, actionPayload) => newState\r\n}\r\n```\r\n\r\nIs it possible to make this work? Is there a rematch specific undo package people are using?"},"comment":{"url":"https://api.github.com/repos/rematch/rematch/issues/comments/417142733","html_url":"https://github.com/rematch/rematch/issues/509#issuecomment-417142733","issue_url":"https://api.github.com/repos/rematch/rematch/issues/509","id":417142733,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzE0MjczMw==","user":{"login":"Squeegy","id":482,"node_id":"MDQ6VXNlcjQ4Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/482?v=4","gravatar_id":"","url":"https://api.github.com/users/Squeegy","html_url":"https://github.com/Squeegy","followers_url":"https://api.github.com/users/Squeegy/followers","following_url":"https://api.github.com/users/Squeegy/following{/other_user}","gists_url":"https://api.github.com/users/Squeegy/gists{/gist_id}","starred_url":"https://api.github.com/users/Squeegy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Squeegy/subscriptions","organizations_url":"https://api.github.com/users/Squeegy/orgs","repos_url":"https://api.github.com/users/Squeegy/repos","events_url":"https://api.github.com/users/Squeegy/events{/privacy}","received_events_url":"https://api.github.com/users/Squeegy/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T23:41:07Z","updated_at":"2018-08-29T23:41:07Z","author_association":"NONE","body":"Yep that was exactly what I needed. Thanks for telling me to look there!"}}
{"actor":{"display_login":"Squeegy"}}