{"action":"created","issue":{"url":"https://api.github.com/repos/adamhaile/surplus/issues/76","repository_url":"https://api.github.com/repos/adamhaile/surplus","labels_url":"https://api.github.com/repos/adamhaile/surplus/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/adamhaile/surplus/issues/76/comments","events_url":"https://api.github.com/repos/adamhaile/surplus/issues/76/events","html_url":"https://github.com/adamhaile/surplus/issues/76","id":361827153,"node_id":"MDU6SXNzdWUzNjE4MjcxNTM=","number":76,"title":"Fragments?","user":{"login":"kandiu","id":25955481,"node_id":"MDQ6VXNlcjI1OTU1NDgx","avatar_url":"https://avatars2.githubusercontent.com/u/25955481?v=4","gravatar_id":"","url":"https://api.github.com/users/kandiu","html_url":"https://github.com/kandiu","followers_url":"https://api.github.com/users/kandiu/followers","following_url":"https://api.github.com/users/kandiu/following{/other_user}","gists_url":"https://api.github.com/users/kandiu/gists{/gist_id}","starred_url":"https://api.github.com/users/kandiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kandiu/subscriptions","organizations_url":"https://api.github.com/users/kandiu/orgs","repos_url":"https://api.github.com/users/kandiu/repos","events_url":"https://api.github.com/users/kandiu/events{/privacy}","received_events_url":"https://api.github.com/users/kandiu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-19T16:23:45Z","updated_at":"2018-09-21T10:44:35Z","closed_at":null,"author_association":"NONE","body":"Hello, really nice library. I was just playing around and realized that fragments are not supported.\r\nIs there any way to implement views without a parent node?"},"comment":{"url":"https://api.github.com/repos/adamhaile/surplus/issues/comments/423491482","html_url":"https://github.com/adamhaile/surplus/issues/76#issuecomment-423491482","issue_url":"https://api.github.com/repos/adamhaile/surplus/issues/76","id":423491482,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzQ5MTQ4Mg==","user":{"login":"kandiu","id":25955481,"node_id":"MDQ6VXNlcjI1OTU1NDgx","avatar_url":"https://avatars2.githubusercontent.com/u/25955481?v=4","gravatar_id":"","url":"https://api.github.com/users/kandiu","html_url":"https://github.com/kandiu","followers_url":"https://api.github.com/users/kandiu/followers","following_url":"https://api.github.com/users/kandiu/following{/other_user}","gists_url":"https://api.github.com/users/kandiu/gists{/gist_id}","starred_url":"https://api.github.com/users/kandiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kandiu/subscriptions","organizations_url":"https://api.github.com/users/kandiu/orgs","repos_url":"https://api.github.com/users/kandiu/repos","events_url":"https://api.github.com/users/kandiu/events{/privacy}","received_events_url":"https://api.github.com/users/kandiu/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T10:44:35Z","updated_at":"2018-09-21T10:44:35Z","author_association":"NONE","body":"Thank you, that was fast! I was trying with arrays, but I can't make it work. I keep getting `content must be Node, stringable, or array of same`. I was also looking at surplus-realworld repo to take inspiration. Anyway, this is my `index.html` file\r\n\r\n```html\r\n<html>\r\n    <head>\r\n    </head>\r\n    <body>\r\n    <div id=\"app\"></div>\r\n    <script src=\"main.js\"></script>\r\n    </body>\r\n</html>\r\n```\r\n\r\nand this is `main.tsx`\r\n```tsx\r\nimport S from 's-js';\r\nimport * as Surplus from 'surplus';\r\nimport data from 'surplus-mixin-data';\r\n\r\nvar Name = (name) => [<div>{name}</div>, <div>{name}</div>]\r\nvar Page = ( { children }) => <div>{children}</div>\r\n\r\ndocument.getElementById(\"app\").appendChild( Page( { children : Name(\"Jelly\") } ) )\r\n```\r\n"}}
{"actor":{"display_login":"kandiu"}}