Skip to content

Problems with SSR #4

@rfdomingues98

Description

@rfdomingues98

Hello,
I was using this in a Turborepo + Tanstack Start project and noticed some hydration errors due to CSS filename hash differing on build.

After some digging, it traces back to this plugin. It seems like the issue is related to css variable names that this package randomly generates every time for the createToggle method. Since the name changes every time, it causes hydration problems when using SSR.

Would it be possible to avoid generating random strings every time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions