Skip to content

Commit

Permalink
Update and rename good-rocks-mix.md to fix-ssr-warning.md
Browse files Browse the repository at this point in the history
  • Loading branch information
clauderic committed May 28, 2021
1 parent 209fc68 commit ae398de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@dnd-kit/core': minor
'@dnd-kit/core': patch
---

Allow setting an optional `id` prop on `DndContext` to fix a warning during server-side rendering (especially in Next.js). By default, this `id` is autogenerated and can lead to a mismatch between the server- and client-side rendered HTML. We also avoid this mismatch by rendering the `Accessibility` component only after everything else was initially mounted on the client.

0 comments on commit ae398de

Please sign in to comment.