Skip to content

JS-dependent styling #322

@espen42

Description

@espen42

Solutions where styling at runtime is based on javascript (such as https://cssinjs.org/?v=v10.9.0 or babel-plugin-transform-scss) is currently not supported. Two issues around that:

  • Hydration is disabled inside content studio. So the styling JS is never called in the client.
  • JS code relies on client-side code (document.querySelector etc). When run as SSR, it fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions