You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/honest-peas-peel.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,14 @@
2
2
"eslint-plugin-react-server-components": minor
3
3
---
4
4
5
-
Making window check more robust to not require "use client" when safely accessed behind a `typeof window !== undefined` check
5
+
Making checks for window usage more robust to not require "use client" when safely accessed behind a `typeof window !== 'undefined'` or `typeof document !== 'undefined'`check.
0 commit comments