Hello, react-static forget to include a <!doctype html>in the first line of all HTML pages.
It's not useless, If you dont put a doctype declaration, browsers ( at least desktop ) 'quirks mode' will interpret your page as the oldiest version of Html or undeterminated...
How can I add it ? Thanks !
Hmm, perhaps if and after #104 is merged this would be quite easy to fix. Since you're feeding the output HTML as a template for Webpack, could just as well slap the doctype at the top of the template.
Like UTF-8 Charset, you are right, that should be part of all templates.
DocType is addressed at the export stage and is applied to every single file exported. So be not afraid ;). DocType is there.... watching over you. Creepily.... but consistently haha
Most helpful comment
DocType is addressed at the export stage and is applied to every single file exported. So be not afraid ;). DocType is there.... watching over you. Creepily.... but consistently haha