• v0.16.1
    v0.16.1

    Bug fixes

    • In @liveblocks/react:

      • Fix issue with React 18 and StrictMode.
  • v0.16.0
    v0.16.0

    New APIs

    Set one element at a specified index.

    const list = new LiveList(["🦁", "🦊", "🐵"]);list.set(0, "🐺");list.toArray(); // equals ["🐺", "🦊", "🐵"]

    https://github.com/liveblocks/liveblocks/pull/147 for more information

    ⚠️ Before using LiveList.set, you need to make sure that all connected clients are using 0.16.0. If a client is connected to a room with version < 0.16, LiveList.set might lead to slightly unexpected behavior.

    TypeScript improvements

    @nvie improved our typescript definitions! They are more precise and restrictive (for your own good :)). If typescript errors appears after upgrading to 0.16.0 and they are not clear, please create a Github issue and we'll help you.

    More information here: https://github.com/liveblocks/liveblocks/pull/150

Previous