8000 v11 omit styling and avoid hydratation issue for SSR · Issue #1189 · fkhadra/react-toastify · GitHub
[go: up one dir, main page]

Skip to content

v11 omit styling and avoid hydratation issue for SSR #1189

@reintroducing

Description

@reintroducing

I just upgraded to v11 and it broke my component. I was previously not using the styling at all (so not loading the CSS) and had written custom styles based on classNames I passed to control the UI. With v11, I believe this is broken because the styles are automatically injected into the code, with seemingly no option to opt out of that (I don't see anything in the docs). Is there a way to disable the default styling that comes with v11? I'm seeing styles added in the dev tools that were not there in the prior version.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0