{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/123","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/123/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/123/events","html_url":"https://github.com/erikras/redux-form/issues/123","id":110784733,"number":123,"title":"Slow performance on huge form","user":{"login":"vincentfretin","id":112249,"avatar_url":"https://avatars.githubusercontent.com/u/112249?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentfretin","html_url":"https://github.com/vincentfretin","followers_url":"https://api.github.com/users/vincentfretin/followers","following_url":"https://api.github.com/users/vincentfretin/following{/other_user}","gists_url":"https://api.github.com/users/vincentfretin/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentfretin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentfretin/subscriptions","organizations_url":"https://api.github.com/users/vincentfretin/orgs","repos_url":"https://api.github.com/users/vincentfretin/repos","events_url":"https://api.github.com/users/vincentfretin/events{/privacy}","received_events_url":"https://api.github.com/users/vincentfretin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-10T09:51:22Z","updated_at":"2015-10-26T11:39:44Z","closed_at":null,"body":"I have a real performance issue with a form (10 to 30 fields) that do a really slow rerender on every key press. (without redux-devtools).\r\nLike I explained on https://github.com/rackt/redux/issues/691#issuecomment-147069319\r\nI use a custom shouldComponentUpdate method to fix the issue. The issue being that all functions on the field prop ('onChange', 'onBlur', 'onFocus', 'onUpdate', 'handleChange', 'handleBlur', 'handleFocus') are actually different on each rerender an so the standard shouldComponentUpdate that do a simple shallowEqual returns always True and then React call the render method on every field.\r\nI don't really know it there is something we can do in redux-form to avoid recreating the functions...\r\nany idea?"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/151107350","html_url":"https://github.com/erikras/redux-form/issues/123#issuecomment-151107350","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/123","id":151107350,"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-10-26T11:39:44Z","updated_at":"2015-10-26T11:39:44Z","body":"This problem should go away entirely in `v3.0.0-beta-1`. It was one of the major goals of the redesign."}}