{"action":"created","issue":{"url":"https://api.github.com/repos/WebReflection/es-class/issues/3","labels_url":"https://api.github.com/repos/WebReflection/es-class/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/WebReflection/es-class/issues/3/comments","events_url":"https://api.github.com/repos/WebReflection/es-class/issues/3/events","html_url":"https://github.com/WebReflection/es-class/issues/3","id":108932279,"number":3,"title":"Feature Request: Deep Merging Statics","user":{"login":"triggity","id":1063474,"avatar_url":"https://avatars.githubusercontent.com/u/1063474?v=3","gravatar_id":"","url":"https://api.github.com/users/triggity","html_url":"https://github.com/triggity","followers_url":"https://api.github.com/users/triggity/followers","following_url":"https://api.github.com/users/triggity/following{/other_user}","gists_url":"https://api.github.com/users/triggity/gists{/gist_id}","starred_url":"https://api.github.com/users/triggity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triggity/subscriptions","organizations_url":"https://api.github.com/users/triggity/orgs","repos_url":"https://api.github.com/users/triggity/repos","events_url":"https://api.github.com/users/triggity/events{/privacy}","received_events_url":"https://api.github.com/users/triggity/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-29T18:38:56Z","updated_at":"2015-09-29T21:00:55Z","closed_at":null,"body":"It would be great if the static object can be deep merged instead of shallow. use case is something like React.Component and defaultProps/propTypes. an example modified from your example\r\n```\r\nvar Panel = Class({\r\n  extends: React.Component,\r\n  static: {\r\n    propTypes: {\r\n      SCROLLABLE: React.PropTypes.bool\r\n    },\r\n    defaultProps: {\r\n      SCROLLABLE: true\r\n    }\r\n   }\r\n});\r\nvar Page = Class({\r\n  extends: Panel,\r\n  static: {\r\n    propTypes: {\r\n      RESIZABLE: React.PropTypes.bool\r\n    },\r\n    defaultProps: {\r\n      RESIZABLE: true\r\n    }\r\n   }\r\n});\r\n```\r\n\r\ndefaultProps and propTypes are shallow-ly merged. for now, this is work-around-able by manually deep merging in the Page Class definition\r\n"},"comment":{"url":"https://api.github.com/repos/WebReflection/es-class/issues/comments/144190342","html_url":"https://github.com/WebReflection/es-class/issues/3#issuecomment-144190342","issue_url":"https://api.github.com/repos/WebReflection/es-class/issues/3","id":144190342,"user":{"login":"WebReflection","id":85749,"avatar_url":"https://avatars.githubusercontent.com/u/85749?v=3","gravatar_id":"","url":"https://api.github.com/users/WebReflection","html_url":"https://github.com/WebReflection","followers_url":"https://api.github.com/users/WebReflection/followers","following_url":"https://api.github.com/users/WebReflection/following{/other_user}","gists_url":"https://api.github.com/users/WebReflection/gists{/gist_id}","starred_url":"https://api.github.com/users/WebReflection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebReflection/subscriptions","organizations_url":"https://api.github.com/users/WebReflection/orgs","repos_url":"https://api.github.com/users/WebReflection/repos","events_url":"https://api.github.com/users/WebReflection/events{/privacy}","received_events_url":"https://api.github.com/users/WebReflection/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T21:00:55Z","updated_at":"2015-09-29T21:00:55Z","body":"actually never mind, I've just realized what is that you are asking. Sorry I couldn't see before the difference. Will look at this, cheers!"}}