Questions tagged [fluid-framework]

Fluid Framework (also known as Fluid) is an open-source JavaScript library developed by Microsoft for managing and synchronizing state across connected JavaScript clients.

40 questions
3
votes
1 answer

How to connect to a Routerlicious local server?

I have followed this guide https://github.com/microsoft/FluidFramework/tree/main/server/routerlicious and I have set up successfully a Routerlicious server and the gateway https://github.com/microsoft/FluidFramework/tree/main/server/gateway, but I…
Andrerod
  • 33
  • 3
3
votes
0 answers

Integrating React-Redux with Microsoft Fluid framework

I'm trying to integrate two different state management frameworks React Redux Microsoft Fluid Framework Here is my observation What is the best approach? react-redux is used for maintaining my local user state where as Microsoft Fluid framework…
3
votes
1 answer

How do I fix Connect Document error in Tinylicious server?

Sometimes when I restart my Tinylicious server, I receive the following error many times in the server logs. Connect Document error: {}…
thatguy
  • 97
  • 9
3
votes
1 answer

which nested data structure should I use for FluidFramework

If I want to use nested data structure, which data structure is better choose. eg. For eg1 case, It seems can not load children DDS data in 'hasInitialized()'. For eg2, it seems a little complicated. Is anyone can show some example for this case?
lemon
  • 300
  • 1
  • 6
3
votes
0 answers

How to deploy the Fluid server?

I'm using the Fluid draft-js example here: https://github.com/microsoft/FluidExamples/tree/main/draft-js I know I can run the app locally by just running npm start or just the server by using npm start:server But how can I deploy this app (server)…
Enrico
  • 2,734
  • 1
  • 27
  • 40
3
votes
1 answer

Difference between Fluid-Framework and Signal-R

Question: Microsoft recently released the Fluid-Framework on github, How can/ steps to replace Signal-R with MS Fluid-Framework and what would be the key differences? Use Case: Fluid seems to support collaboration and data sync for Mermaid etc…
Transformer
  • 6,963
  • 2
  • 26
  • 52
2
votes
1 answer

How to add two or more FluidDataObject into a container and how to add a FluidDataObject to an exist container dynamically?

I use getTinyliciousContainer get a container ,use getDefaultObjectFromContainer get a default FluidDataObject , How to add two or more FluidDataObject into a container and how to add a FluidDataObject to an exist container dynamically? const…
Coffey
  • 21
  • 1
2
votes
0 answers

How to run Tinylicious with inMemory: false?

I Launch demo app from https://github.com/microsoft/FluidExamples I Use "inMemory": false in "config.json" "db": { "inMemory": false, "path": "/var/tmp/db" } I Launch the "Tinylicious" server When I try to create a…
dilshod
  • 91
  • 1
  • 3
2
votes
1 answer

How to make on Fluid framework work offline?

We tested the fluid framework with minimal requirements. Everything works fine in the demo application. https://github.com/microsoft/FluidExamples questions: How does the Fluid framework work offline? Our backend is written in asp.net core. The…
dilshod
  • 91
  • 1
  • 3
2
votes
1 answer

Is it possible to have access rules in Fluid Framework?

Fluid looks really nice if all collaborators are equal (allowed to change the same resources), but what I don't understand is how the server can prevent certain actions for certain users. As much of the logic as possible is on the client-side right?…
guidsdo
  • 432
  • 2
  • 9
2
votes
2 answers

How to insert SharedMap into SharedObjetSequence

I have the DataObject like this: protected async initializingFirstTime() { const sequence = SharedObjectSequence.create(this.runtime); this.root.set("sequence", sequence.handle); } public async insertNode () { const children = await…
lemon
  • 300
  • 1
  • 6
2
votes
0 answers

Literature on the merge-tree algorithm?

There is a "merge-tree" algorithm for the collab of sequence-like DDSes, but the documentation is weak. Is there any formal literature on the details?
Wei Liu
  • 41
  • 1
2
votes
2 answers

Does fluid-framework support transactions?

For example, in FluidFramework/examples/data-objects/badge/src/BadgeClient.tsx: const changeSelectedOption = (newItem: IBadgeType): void => { if (newItem.key !== model.currentCell.get().key) { const len =…
Wei Liu
  • 41
  • 1
1
vote
1 answer

How to get client information in fluid framework?

Can I get information specific to which client has joined the session? For e.g If I want to add a new div to the DOM element with the id of the client whenever a new client joins the session and loads a container?
Hamza J
  • 69
  • 1
  • 9
1
vote
1 answer

How can I tell Fluid FrameWork Tinylicious to allow cross-origin request from a specific URL?

I am hoping to use Tinylicious/Fluid Framework to enable communication across clients that are on different machines. For app-specific purposes, I have my app server running over https (at https://.ngrok.io/). I then have Tinylicious…
1
2 3