pkamenarsky / replica

A remote virtual DOM library for Haskell
BSD 3-Clause "New" or "Revised" License
139 stars 14 forks source link

Enable to specify header tags easier #4

Closed kamoii closed 5 years ago

kamoii commented 5 years ago

Hi, thanks for the cool project!

Currently, its hard to specify header tags. You can using websoketApp and prepare the index.html file yourself, but I feel app function should be able to specify heder tags since its quite normal to use global css style/extenal css/meta tags.

pkamenarsky commented 5 years ago

Definitely! I'm also thinking about making embedding things easier - like css or fonts in base64 encoding - in order to eliminate unnecessary network roundtrips. This, combined with server side html rendering would further minimise the time to first-render.