tw-in-js / use-twind-with

Twind integration packages for frameworks & libraries with examples
MIT License
68 stars 17 forks source link

WMR: Inject prerendered styles into the head, rather than body #28

Closed rschristian closed 2 years ago

rschristian commented 2 years ago

A little ways back WMR gained an API for being able to alter <head> information from prerender. A few examples can be found here: https://wmr.dev/docs/prerendering

This switches over the WMR integration to use this, rather than prepending the style tag to the <body> as used to be required.

sastan commented 2 years ago

Thank you. Really appreciate all the work you have been doing!