{"action":"created","issue":{"url":"https://api.github.com/repos/st-js/st-js/issues/112","labels_url":"https://api.github.com/repos/st-js/st-js/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/st-js/st-js/issues/112/comments","events_url":"https://api.github.com/repos/st-js/st-js/issues/112/events","html_url":"https://github.com/st-js/st-js/issues/112","id":112711366,"number":112,"title":"Why not support Complex instance field value?","user":{"login":"nile","id":425378,"avatar_url":"https://avatars.githubusercontent.com/u/425378?v=3","gravatar_id":"","url":"https://api.github.com/users/nile","html_url":"https://github.com/nile","followers_url":"https://api.github.com/users/nile/followers","following_url":"https://api.github.com/users/nile/following{/other_user}","gists_url":"https://api.github.com/users/nile/gists{/gist_id}","starred_url":"https://api.github.com/users/nile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nile/subscriptions","organizations_url":"https://api.github.com/users/nile/orgs","repos_url":"https://api.github.com/users/nile/repos","events_url":"https://api.github.com/users/nile/events{/privacy}","received_events_url":"https://api.github.com/users/nile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-22T01:31:31Z","updated_at":"2015-10-22T14:16:30Z","closed_at":null,"body":"I want to create some code like this\r\n\r\n    var UsersRouter = React.createClass({\r\n        mixins: [RouterMixin],\r\n\r\n        routes: {\r\n            '/': 'users',\r\n            '/create': 'create',\r\n            '/view/:id': 'view'\r\n         },\r\n      ....\r\n    }\r\n\r\nWhat could I do?"},"comment":{"url":"https://api.github.com/repos/st-js/st-js/issues/comments/150238042","html_url":"https://github.com/st-js/st-js/issues/112#issuecomment-150238042","issue_url":"https://api.github.com/repos/st-js/st-js/issues/112","id":150238042,"user":{"login":"onigoetz","id":309594,"avatar_url":"https://avatars.githubusercontent.com/u/309594?v=3","gravatar_id":"","url":"https://api.github.com/users/onigoetz","html_url":"https://github.com/onigoetz","followers_url":"https://api.github.com/users/onigoetz/followers","following_url":"https://api.github.com/users/onigoetz/following{/other_user}","gists_url":"https://api.github.com/users/onigoetz/gists{/gist_id}","starred_url":"https://api.github.com/users/onigoetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onigoetz/subscriptions","organizations_url":"https://api.github.com/users/onigoetz/orgs","repos_url":"https://api.github.com/users/onigoetz/repos","events_url":"https://api.github.com/users/onigoetz/events{/privacy}","received_events_url":"https://api.github.com/users/onigoetz/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T14:16:30Z","updated_at":"2015-10-22T14:16:30Z","body":"I don't understand, what is the part you can't do ?\r\n\r\nWith the react bridge, the \"React.createClass\" is done automatically.\r\n\r\nFor your example of complex fields, the only way is to add them as \"static\" in the class or else you can't initialize the field\r\n\r\nDoes that answer your question ?"}}