Skip to content

When page is refreshed the Fluent UI styles are lost #1

@jamesxv7

Description

@jamesxv7

Seems there is a problem when rendering the styles in Nextjs using Griffel css-in-js engine. In the first build and run the styles are compiled and applied correctly, but when the page is refreshed, styles disappear.

So far the only recovery from this state is rebooting the app again (not good). This is behavior is observed during the development process. One possible workaround to solve this is described in the "The Perils of Rehydration" by Josh Comeau. Other potential solution is to follow the recommendations of Tim Neutkens in the following issue.

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