{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/964","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/964/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/964/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/964/events","html_url":"https://github.com/erikras/redux-form/pull/964","id":154720013,"number":964,"title":"v6 — Improve redux connector performances","user":{"login":"ooflorent","id":168498,"avatar_url":"https://avatars.githubusercontent.com/u/168498?v=3","gravatar_id":"","url":"https://api.github.com/users/ooflorent","html_url":"https://github.com/ooflorent","followers_url":"https://api.github.com/users/ooflorent/followers","following_url":"https://api.github.com/users/ooflorent/following{/other_user}","gists_url":"https://api.github.com/users/ooflorent/gists{/gist_id}","starred_url":"https://api.github.com/users/ooflorent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ooflorent/subscriptions","organizations_url":"https://api.github.com/users/ooflorent/orgs","repos_url":"https://api.github.com/users/ooflorent/repos","events_url":"https://api.github.com/users/ooflorent/events{/privacy}","received_events_url":"https://api.github.com/users/ooflorent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/erikras/redux-form/milestones/1","html_url":"https://github.com/erikras/redux-form/milestones/next-6.0.0","labels_url":"https://api.github.com/repos/erikras/redux-form/milestones/1/labels","id":1736711,"number":1,"title":"next-6.0.0","description":"","creator":{"login":"ooflorent","id":168498,"avatar_url":"https://avatars.githubusercontent.com/u/168498?v=3","gravatar_id":"","url":"https://api.github.com/users/ooflorent","html_url":"https://github.com/ooflorent","followers_url":"https://api.github.com/users/ooflorent/followers","following_url":"https://api.github.com/users/ooflorent/following{/other_user}","gists_url":"https://api.github.com/users/ooflorent/gists{/gist_id}","starred_url":"https://api.github.com/users/ooflorent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ooflorent/subscriptions","organizations_url":"https://api.github.com/users/ooflorent/orgs","repos_url":"https://api.github.com/users/ooflorent/repos","events_url":"https://api.github.com/users/ooflorent/events{/privacy}","received_events_url":"https://api.github.com/users/ooflorent/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":31,"state":"open","created_at":"2016-04-28T15:08:08Z","updated_at":"2016-05-13T14:07:46Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-05-13T14:07:46Z","updated_at":"2016-05-13T14:24:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/erikras/redux-form/pulls/964","html_url":"https://github.com/erikras/redux-form/pull/964","diff_url":"https://github.com/erikras/redux-form/pull/964.diff","patch_url":"https://github.com/erikras/redux-form/pull/964.patch"},"body":"Use Redux's memoization API to improve `ConnectedForm` performances by avoiding closure re-creations.\r\n\r\n**NOTE:** It introduces 2 breaking changes:\r\n\r\n- `react-redux` MUST match `>=4.3` (previously `>=4.0`)\r\n- `form`, `touchOnBlur` and `touchOnChange` can't change over time. In order to prevent WTF behaviors, we could add a warning when `NODE_ENV` is not `production` if these props change.\r\n\r\n**Disclaimer:** I haven't tested the examples since they rely on the latest published version on Redux Form instead of the local one."},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/219058161","html_url":"https://github.com/erikras/redux-form/pull/964#issuecomment-219058161","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/964","id":219058161,"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":"2016-05-13T14:24:45Z","updated_at":"2016-05-13T14:24:45Z","body":"> we could add a warning when NODE_ENV is not production if these props change.\r\n\r\n`invariant` is already a dep. Use it for this."}}