Skip to content

EuiBreadcrumbs breaks SSR #3687

@pugnascotia

Description

@pugnascotia

EuiBreadcrumbs directly references window without any guards. I found this because I tried upgrading EUI in next-eui-starter, and rendering the index page broke.

Replicate in the starter repo with:

  • nvm use 14 (the next step upgrades a dependency that requires node >= 13.7)
  • yarn upgrade --latest
  • yarn dev
  • Visit http://localhost:3000

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