v0.3.0-beta.0 Add pre rendering
Pre-release
Pre-release
- Pre rendering prevents any page flashes from happening
- update build method so it returns
{ title, head, body }
You will now need to inject head into your template
module.exports = ({title, head, body}) => `
<head>
<title>${title}</title>
${head}
</head>
<body>
${body}
</body>
`;