Skip to content

[Bug?]: hydration fails silently without an error #1807

@huseeiin

Description

@huseeiin

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

no error in console, but hydration fails expectedly

Expected behavior 🤔

TypeError: global is not defined

Steps to reproduce 🕹

console.log(global);

export default function Home() {
  return <button onClick={() => console.log("not interactive")}>Click</button>;
}

Context 🔦

No response

Your environment 🌎

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions