{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/110","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/110/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/110/events","html_url":"https://github.com/erikras/redux-form/issues/110","id":109375033,"number":110,"title":"Immutable store?","user":{"login":"alexw668","id":167535,"avatar_url":"https://avatars.githubusercontent.com/u/167535?v=3","gravatar_id":"","url":"https://api.github.com/users/alexw668","html_url":"https://github.com/alexw668","followers_url":"https://api.github.com/users/alexw668/followers","following_url":"https://api.github.com/users/alexw668/following{/other_user}","gists_url":"https://api.github.com/users/alexw668/gists{/gist_id}","starred_url":"https://api.github.com/users/alexw668/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexw668/subscriptions","organizations_url":"https://api.github.com/users/alexw668/orgs","repos_url":"https://api.github.com/users/alexw668/repos","events_url":"https://api.github.com/users/alexw668/events{/privacy}","received_events_url":"https://api.github.com/users/alexw668/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-10-01T20:17:53Z","updated_at":"2015-11-12T18:15:09Z","closed_at":null,"body":"Hi, we'd like to use redux-form in our react app with redux. In our app, our reducers never mutate state (we use Facebook's immutable.js to achieve that), but I can see that the reducer used in redux-form is just plain javascript object. When we tried to redux-form in our app, we would get mixed data type in state, causing errors like The previous state received by the reducer has unexpected type of \"Object\". \r\n\r\nBased on this Redux issue (https://github.com/rackt/redux/issues/548), Redux itself is made not having the knowledge of type of state one uses, so it does not matter if plain object, immutable object, etc is used for state; certainly one don't want to mix up of types in a state (or the error I mentioned above would occur).\r\n\r\nDo you have intention of using immutable Map/List in your reducer? If not, do you have any idea how we can still use redux-form by converting the form state to immutable Map (like using fromJS for conversion)? How do other developers get around this kind of problem?\r\n\r\nThanks,\r\nAlex"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/156188284","html_url":"https://github.com/erikras/redux-form/issues/110#issuecomment-156188284","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/110","id":156188284,"user":{"login":"erikras","id":4396759,"avatar_url":"https://avatars.githubusercontent.com/u/4396759?v=3","gravatar_id":"","url":"https://api.github.com/users/erikras","html_url":"https://github.com/erikras","followers_url":"https://api.github.com/users/erikras/followers","following_url":"https://api.github.com/users/erikras/following{/other_user}","gists_url":"https://api.github.com/users/erikras/gists{/gist_id}","starred_url":"https://api.github.com/users/erikras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikras/subscriptions","organizations_url":"https://api.github.com/users/erikras/orgs","repos_url":"https://api.github.com/users/erikras/repos","events_url":"https://api.github.com/users/erikras/events{/privacy}","received_events_url":"https://api.github.com/users/erikras/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T18:15:09Z","updated_at":"2015-11-12T18:15:09Z","body":"That sounds like a very agreeable solution, @itaylor."}}