Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@liveblocks/redux
Advanced tools
@liveblocks/redux
A store enhancer to integrate Liveblocks into Redux stores.
npm install @liveblocks/client @liveblocks/redux
For changelog, visit https://github.com/liveblocks/liveblocks/releases.
Licensed under the Apache License 2.0, Copyright © 2021-present Liveblocks.
See LICENSE for more information.
v0.17.0
For information, please read our Upgrade Guide.
This release contains major TypeScript improvements. The recommended setup now is that you define your own Presence and Storage types at the highest level (i.e. where you set up the room). After that initial one-time setup, you will no longer need to provide any extra type annotations anywhere for your Liveblocks code! 🙌
To learn how to set that up, follow the instructions in our Upgrade Guide.
any
types used (in @liveblocks/client
and @liveblocks/react
)LiveMap<K, V>
(like Map<K, V>
)LiveObject<{ a: number, b: string }>
(like, for example,
{ a: number, b: string }
)LiveList<T>
(like Array<T>
)We now support React Native! To learn how to use Liveblocks in your React Native projects, see our API reference. It's surprisingly simple!
In @liveblocks/react:
createRoomContext()
is now the preferred way to initialize hooks.In the API:
In @liveblocks/client:
Room.unsubscribe()
APIIn @liveblocks/client:
defaultPresence
option to client.enter()
will get renamed to
initialPresence
defaultStorageRoot
option to client.enter()
will get renamed to
initialStorage
new LiveMap(null)
will stop working. Please use new LiveMap()
,
or new LiveMap([])
In @liveblocks/react:
createRoomContext()
helper. For help, read the
Recommended Upgrade Steps section
within our
Upgrade GuideuseList()
, useObject()
, and useMap()
is
deprecateddefaultPresence
is renamed to initialPresence
defaultStorageRoot
is renamed to initialStorage
FAQs
A store enhancer to integrate Liveblocks into Redux stores. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.
The npm package @liveblocks/redux receives a total of 490 weekly downloads. As such, @liveblocks/redux popularity was classified as not popular.
We found that @liveblocks/redux demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.