Grommet is based on styled-components and requires us to collect the page's styles while server-side rendering the page to HTML.

This enables us to add the styles to the HTML so that the browser loads the styles before loading the JavaScript.

Example of using Vike with Grommet:

See also