@fluid-experimental/fluid-static
v0.45.4
Published
A tool to enable consumption of Fluid Data Objects without requiring custom container code.
Downloads
255
Readme
@fluid-experimental/fluid-static
The fluid-static
package provides a simple and powerful way to consume collaborative Fluid data.
This package is marked as experimental and currently under development. The API surface is currently under going drastic braking changes with no guarantees on compatibility.
Using fluid-static
The fluid-static
package contains a container with a pre-created default data object with the ability to create and store additional objects. This is abstracted behind a developer-friendly FluidContainer
interface that provides configurations for defining the container's initial object and supported dynamic object types, as well as callbacks for creating and fetching DDSes and data objects.
This is consumed by separate client packages, such as TinyliciousClient for the Tinylicious service, to provide an easy way of creating and fetching FluidContainer instances that are backed by data stored on the respective services.