{"action":"created","issue":{"url":"https://api.github.com/repos/ocsigen/eliom/issues/171","labels_url":"https://api.github.com/repos/ocsigen/eliom/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/ocsigen/eliom/issues/171/comments","events_url":"https://api.github.com/repos/ocsigen/eliom/issues/171/events","html_url":"https://github.com/ocsigen/eliom/issues/171","id":57405765,"number":171,"title":"Reactive table element does not show header","user":{"login":"pveber","id":341342,"avatar_url":"https://avatars.githubusercontent.com/u/341342?v=3","gravatar_id":"","url":"https://api.github.com/users/pveber","html_url":"https://github.com/pveber","followers_url":"https://api.github.com/users/pveber/followers","following_url":"https://api.github.com/users/pveber/following{/other_user}","gists_url":"https://api.github.com/users/pveber/gists{/gist_id}","starred_url":"https://api.github.com/users/pveber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pveber/subscriptions","organizations_url":"https://api.github.com/users/pveber/orgs","repos_url":"https://api.github.com/users/pveber/repos","events_url":"https://api.github.com/users/pveber/events{/privacy}","received_events_url":"https://api.github.com/users/pveber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-12T01:44:12Z","updated_at":"2015-02-24T14:00:35Z","closed_at":"2015-02-24T14:00:35Z","body":"Starting from a fresh eliom-distillery project, the following webapp shows that the reactive version of table does not show the header:\r\n```ocaml\r\n{shared{\r\nopen Eliom_lib\r\nopen Eliom_content.Html5\r\nopen Eliom_content.Html5.F\r\nopen React\r\n}}\r\n\r\nmodule Bug_reactive_table_app =\r\n  Eliom_registration.App (\r\n    struct\r\n      let application_name = \"bug_reactive_table\"\r\n    end)\r\n\r\nlet main_service =\r\n  Eliom_service.App.service ~path:[] ~get_params:Eliom_parameter.unit ()\r\n\r\nlet table () =\r\n  let dom = {{\r\n      let open ReactiveData in\r\n      R.table\r\n        ~thead:(\r\n          S.const (\r\n            thead [ tr [\r\n                th [ pcdata \"A\"] ;\r\n                th [ pcdata \"B\"] ;\r\n              ]])\r\n        )\r\n        (RList.map\r\n           (fun (a, b) -> tr [ td [ pcdata a ] ; td [ pcdata b ] ])\r\n           (RList.singleton (\"a\", \"b\")))\r\n    }}\r\n  in\r\n  div [\r\n    table ~thead:(thead [ tr [ th [ pcdata \"A\"] ; th [ pcdata \"B\"] ]]) [ tr [ td [ pcdata \"a\" ] ; td [ pcdata \"b\" ] ] ] ;\r\n    C.node dom\r\n  ]\r\n\r\nlet () =\r\n  Bug_reactive_table_app.register\r\n    ~service:main_service\r\n    (fun () () ->\r\n      Lwt.return\r\n        (Eliom_tools.F.html\r\n           ~title:\"bug_reactive_table\"\r\n           ~css:[[\"css\";\"bug_reactive_table.css\"]]\r\n           (body [\r\n               h2 [pcdata \"Welcome from Eliom's distillery!\"];\r\n               table () ;\r\n           ])))\r\n```\r\nI observed the same behaviour with 4.1 and the current master."},"comment":{"url":"https://api.github.com/repos/ocsigen/eliom/issues/comments/75760422","html_url":"https://github.com/ocsigen/eliom/issues/171#issuecomment-75760422","issue_url":"https://api.github.com/repos/ocsigen/eliom/issues/171","id":75760422,"user":{"login":"pveber","id":341342,"avatar_url":"https://avatars.githubusercontent.com/u/341342?v=3","gravatar_id":"","url":"https://api.github.com/users/pveber","html_url":"https://github.com/pveber","followers_url":"https://api.github.com/users/pveber/followers","following_url":"https://api.github.com/users/pveber/following{/other_user}","gists_url":"https://api.github.com/users/pveber/gists{/gist_id}","starred_url":"https://api.github.com/users/pveber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pveber/subscriptions","organizations_url":"https://api.github.com/users/pveber/orgs","repos_url":"https://api.github.com/users/pveber/repos","events_url":"https://api.github.com/users/pveber/events{/privacy}","received_events_url":"https://api.github.com/users/pveber/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T14:00:35Z","updated_at":"2015-02-24T14:00:35Z","body":"Indeed, thanks!"}}