Fixes the "zombie-child" problem that can occur with React 17 or lower. If
you’re on React 18: great, you can ignore this! If you’re using React 17 or
lower with Liveblocks, we’ll now start to enforce that you pass the
unstable_batchedUpdates prop to RoomProvider, so this problem can be
circumvented. This small addition may save you hours of debugging time!
// ⚠️ Only if you’re using React 17 or lowerimport{ unstable_batchedUpdates }from"react-dom";// 👈 <RoomProviderid="my-room"initialPresence={...}initialStorage={...}unstable_batchedUpdates={unstable_batchedUpdates}// 👈><App/></RoomProvider>