This version of Liveblocks drops support for React versions below 18.
If you are already on React 18 or above, you do not have to do anything. Just enjoy the smaller bundle size and performance improvements!
If you are on React 16 or 17, you should upgrade React before upgrading Liveblocks to 2.15. See the instructions below.
If you cannot upgrade to React 18 yet for whatever reason, you can still keep using Liveblocks 2.14 which is the last version to support React 17 and below.
To upgrade Liveblocks to 2.15, first upgrade React to 18 by following the How to Upgrade to React 18.
Then, upgrade all Liveblocks packages by running:
You can now safely remove this line from your codebase:
That’s it!
We use cookies to collect data to improve your experience on our site. Read our Privacy Policy to learn more.