{"action":"created","issue":{"url":"https://api.github.com/repos/newslynx/opportunities/issues/7","labels_url":"https://api.github.com/repos/newslynx/opportunities/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/newslynx/opportunities/issues/7/comments","events_url":"https://api.github.com/repos/newslynx/opportunities/issues/7/events","html_url":"https://github.com/newslynx/opportunities/issues/7","id":91378470,"number":7,"title":"Find a more performant way to deep extend","user":{"login":"mhkeller","id":498744,"avatar_url":"https://avatars.githubusercontent.com/u/498744?v=3","gravatar_id":"","url":"https://api.github.com/users/mhkeller","html_url":"https://github.com/mhkeller","followers_url":"https://api.github.com/users/mhkeller/followers","following_url":"https://api.github.com/users/mhkeller/following{/other_user}","gists_url":"https://api.github.com/users/mhkeller/gists{/gist_id}","starred_url":"https://api.github.com/users/mhkeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhkeller/subscriptions","organizations_url":"https://api.github.com/users/mhkeller/orgs","repos_url":"https://api.github.com/users/mhkeller/repos","events_url":"https://api.github.com/users/mhkeller/events{/privacy}","received_events_url":"https://api.github.com/users/mhkeller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/newslynx/opportunities/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/newslynx/opportunities/labels/newslynx-app","name":"newslynx-app","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-26T22:34:13Z","updated_at":"2015-06-30T00:51:24Z","closed_at":null,"body":"The app currently extends json form schema to bake out custom forms and things. We currently use `$.extend(true, obj, obj)` but there could be a more performant way. [ImmutableJs](https://github.com/facebook/immutable-js) was mentioned as one option."},"comment":{"url":"https://api.github.com/repos/newslynx/opportunities/issues/comments/116893467","html_url":"https://github.com/newslynx/opportunities/issues/7#issuecomment-116893467","issue_url":"https://api.github.com/repos/newslynx/opportunities/issues/7","id":116893467,"user":{"login":"mhkeller","id":498744,"avatar_url":"https://avatars.githubusercontent.com/u/498744?v=3","gravatar_id":"","url":"https://api.github.com/users/mhkeller","html_url":"https://github.com/mhkeller","followers_url":"https://api.github.com/users/mhkeller/followers","following_url":"https://api.github.com/users/mhkeller/following{/other_user}","gists_url":"https://api.github.com/users/mhkeller/gists{/gist_id}","starred_url":"https://api.github.com/users/mhkeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhkeller/subscriptions","organizations_url":"https://api.github.com/users/mhkeller/orgs","repos_url":"https://api.github.com/users/mhkeller/repos","events_url":"https://api.github.com/users/mhkeller/events{/privacy}","received_events_url":"https://api.github.com/users/mhkeller/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T00:51:24Z","updated_at":"2015-06-30T00:51:24Z","body":"One thought is to eliminate the reasons for mutating original objects in the first place. Currently this happens in when combining form schema with selected values, but could conceivably that process could work similarly by passing in the selected values and not having them on each form element json. That format is how the data will still come back from the API so the function should handle both scenarios."}}