Skip to content

Commit d28f4e6

Browse files
committed
docs: suppress impure function lint for hydration example
1 parent 9a560ed commit d28f4e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/render-and-commit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Hydration mismatches can occur when the HTML rendered on the server differs from
209209

210210
### Example {/*example*/}
211211

212-
```jsx
212+
```jsx {expectedErrors: {'react-compiler': [2]}}
213213
function App() {
214214
return <div>{Math.random()}</div>;
215215
}

0 commit comments

Comments
 (0)