Skip to content

Commit 91f05df

Browse files
Rename @fluid-experimental/tree-react-api to @fluidframework/react (#25548)
## Description Rename @fluid-experimental/tree-react-api to @fluidframework/react Note that all APIs in the new package are `@alpha` so this does not commit us to supporting anything long term: any decisions to support / stabilize these APIs will be done individually in later changes. ## Breaking Changes Package @fluid-experimental/tree-react-api has been renamed to @fluidframework/react As the old package was experimental and thus had no stable APIs, this is an allowable change. ## Reviewer Guidance The review process is outlined on [this wiki page](https://github.com/microsoft/FluidFramework/wiki/PR-Guidelines#guidelines).
1 parent 9065040 commit 91f05df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+47
-47
lines changed

.changeset/fifty-foxes-repair.md

Lines changed: 7 additions & 3 deletions

.changeset/slick-pillows-cheer.md

Lines changed: 1 addition & 0 deletions

PACKAGES.md

Lines changed: 1 addition & 1 deletion

examples/data-objects/inventory-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
},
4141
"dependencies": {
4242
"@fluid-example/example-utils": "workspace:~",
43-
"@fluid-experimental/tree-react-api": "workspace:~",
4443
"@fluidframework/aqueduct": "workspace:~",
4544
"@fluidframework/core-interfaces": "workspace:~",
4645
"@fluidframework/datastore-definitions": "workspace:~",
46+
"@fluidframework/react": "workspace:~",
4747
"@fluidframework/tree": "workspace:~",
4848
"fluid-framework": "workspace:~",
4949
"react": "^18.3.1"

examples/data-objects/inventory-app/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import { ContainerViewRuntimeFactory } from "@fluid-example/example-utils";
7-
import type { IReactTreeDataObject } from "@fluid-experimental/tree-react-api/alpha";
7+
import type { IReactTreeDataObject } from "@fluidframework/react/alpha";
88
import * as React from "react";
99

1010
import { InventoryListFactory } from "./inventoryList.js";

examples/data-objects/inventory-app/src/inventoryList.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
* Licensed under the MIT License.
44
*/
55

6-
import { treeDataObjectInternal } from "@fluid-experimental/tree-react-api/internal";
6+
// eslint-disable-next-line import/no-internal-modules
7+
import { treeDataObjectInternal } from "@fluidframework/react/internal";
78

89
import { Inventory, treeConfiguration } from "./schema.js";
910

examples/data-objects/inventory-app/src/view/inventoryList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
withTreeObservations,
1010
withMemoizedTreeObservations,
1111
type PropTreeNode,
12-
} from "@fluid-experimental/tree-react-api/alpha";
12+
} from "@fluidframework/react/alpha";
1313
import { Tree } from "fluid-framework";
1414
import * as React from "react";
1515

examples/service-clients/azure-client/todo-list/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
},
4242
"dependencies": {
4343
"@fluid-example/example-utils": "workspace:~",
44-
"@fluid-experimental/tree-react-api": "workspace:~",
4544
"@fluidframework/azure-client": "workspace:~",
4645
"@fluidframework/core-interfaces": "workspace:~",
46+
"@fluidframework/react": "workspace:~",
4747
"@fluidframework/routerlicious-driver": "workspace:~",
4848
"@fluidframework/telemetry-utils": "workspace:~",
4949
"assert": "^2.0.0",

examples/service-clients/azure-client/todo-list/src/view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
CollaborativeTextArea,
99
SharedStringHelper,
1010
} from "@fluid-example/example-utils";
11-
import { useTree } from "@fluid-experimental/tree-react-api/alpha";
11+
import { useTree } from "@fluidframework/react/alpha";
1212
import type { IFluidContainer, IFluidHandle } from "fluid-framework";
1313
import type { ISharedString } from "fluid-framework/legacy";
1414
import React, { useEffect, useRef, useState } from "react";

feeds/internal-build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
@fluidframework/tree-agent
2929
@fluidframework/synthesize
3030
@fluidframework/request-handler
31+
@fluidframework/react
3132
@fluidframework/presence
3233
@fluid-experimental/oldest-client-observer
3334
@fluidframework/fluid-static
@@ -72,7 +73,6 @@ fluid-framework
7273
@fluidframework/core-interfaces
7374
@fluidframework/container-definitions
7475
@fluid-internal/client-utils
75-
@fluid-experimental/tree-react-api
7676
@fluid-experimental/last-edited
7777
@fluid-experimental/data-objects
7878
@fluid-experimental/tree

0 commit comments

Comments
 (0)