{"action":"closed","issue":{"url":"https://api.github.com/repos/mjvesa/spil/issues/10","repository_url":"https://api.github.com/repos/mjvesa/spil","labels_url":"https://api.github.com/repos/mjvesa/spil/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mjvesa/spil/issues/10/comments","events_url":"https://api.github.com/repos/mjvesa/spil/issues/10/events","html_url":"https://github.com/mjvesa/spil/issues/10","id":124563295,"number":10,"title":"Make it possible to compose widgets on the client and server side","user":{"login":"mjvesa","id":783176,"avatar_url":"https://avatars.githubusercontent.com/u/783176?v=3","gravatar_id":"","url":"https://api.github.com/users/mjvesa","html_url":"https://github.com/mjvesa","followers_url":"https://api.github.com/users/mjvesa/followers","following_url":"https://api.github.com/users/mjvesa/following{/other_user}","gists_url":"https://api.github.com/users/mjvesa/gists{/gist_id}","starred_url":"https://api.github.com/users/mjvesa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjvesa/subscriptions","organizations_url":"https://api.github.com/users/mjvesa/orgs","repos_url":"https://api.github.com/users/mjvesa/repos","events_url":"https://api.github.com/users/mjvesa/events{/privacy}","received_events_url":"https://api.github.com/users/mjvesa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mjvesa/spil/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-01T22:01:13Z","updated_at":"2016-02-08T10:56:06Z","closed_at":"2016-02-08T10:56:06Z","body":"When using React it becomes possible to instantiate a client side component independently of the server side as part of component composition. That would allow creating complex client side components using components that have been defined previously in other widgets.  Supporting that would require some sort of store that could queried for the components. A simple association list would do.\r\n\r\nA simpler solution would be to define the components separately on the client side at global scope and then use them in widgets. \r\n\r\nSome research needs to be done to see which would be the more viable choice.\r\n\r\nThe punchline of this enhancement is that the use of the same widget on the client side and the server side would become possible."}}