This repository has been archived by the owner on Aug 24, 2023. It is now read-only.
v1.0.0
New NPM packages for the React SDK: React Core and Components
With this release we are introducing a new way of publishing our react SDK.
We are deprecating our livekit-react
npm package and are replacing it with @livekit/react-core
and @livekit/react-components
.
If you want to have minimum friction when upgrading your dependency to one of the new packages, then use @livekit/react-components
as it's fully API compatible with the legacy livekit-react
package.
We wrote a blog post that goes into more detail about the differences of the new packages and outlines the reasons for the change: https://blog.livekit.io/react-core-components/
New features
- useRoom() now additionally returns a
connectionState
state variable
Changes
- upgrade livekit-client peer dependency to ^1.0.0
- change room state handling within useRoom in order to support React StrictMode