@plurid/plurid-react 0.0.0-20 → 0.0.0-21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,8 +41,8 @@ export declare const collectApplicationsFromPath: (isoMatch: PluridRouteMatch, p
41
41
  }[]>;
42
42
  export declare const gatherPluridPlanes: (routes: PluridRoute<PluridReactComponent>[], planes: PluridRoutePlane<PluridReactComponent>[] | undefined) => PluridPlane<PluridReactComponent<any, import("@plurid/plurid-data").PluridPlaneComponentProperty | PluridRouteComponentProperty>>[];
43
43
  export declare const renderMultispace: (matchedRoute: PluridRouteMatch) => (() => () => JSX.Element) | (() => React.FC<any>);
44
- export declare const computePluridRoute: (matchedRoute: PluridRouteMatch | undefined, planesRegistrar: planes.Registrar<PluridReactComponent>, isoMatcher: routing.IsoMatcher<PluridReactComponent>, directPlane?: PluridRouteMatch | undefined) => any;
45
- export declare const computeInitialMatchedPath: (staticContext?: PluridRouterStatic | undefined) => string;
44
+ export declare const computePluridRoute: (matchedRoute: PluridRouteMatch | undefined, planesRegistrar: planes.Registrar<PluridReactComponent>, isoMatcher: routing.IsoMatcher<PluridReactComponent>, directPlane?: PluridRouteMatch) => any;
45
+ export declare const computeInitialMatchedPath: (staticContext?: PluridRouterStatic) => string;
46
46
  export declare const getDirectPlaneMatch: (matchedPath: string, routes: PluridRoute<PluridReactComponent>[], planes: PluridRoutePlane<PluridReactComponent>[] | undefined) => {
47
47
  matchRoute: PluridRoute<PluridReactComponent<any, import("@plurid/plurid-data").PluridPlaneComponentProperty | PluridRouteComponentProperty>, any> | undefined;
48
48
  matchPlane: PluridRoutePlane<PluridReactComponent<any, import("@plurid/plurid-data").PluridPlaneComponentProperty | PluridRouteComponentProperty>> | undefined;
@@ -5413,6 +5413,9 @@ const PluridView = properties => {
5413
5413
  handlePubSubPublish(pubsub);
5414
5414
  }
5415
5415
  }), [ pluridPubSub.length, stateConfiguration, stateTransform ]);
5416
+ useEffect((() => {
5417
+ treeUpdateCallback();
5418
+ }), []);
5416
5419
  const pluridContext = {
5417
5420
  planesRegistrar: planesRegistrar,
5418
5421
  planeContext: planeContext,
@@ -6317,7 +6320,7 @@ const PluridLink = properties => {
6317
6320
  const [showLink, setShowLink] = useState(false);
6318
6321
  const [planeID, setPlaneID] = useState("");
6319
6322
  const [pluridPlaneID, setPluridPlaneID] = useState("");
6320
- const [parentPlaneID, setParentPlaneID] = useState("");
6323
+ const [parentPlaneID, setParentPlaneID] = useState(getPluridPlaneIDByData$1(linkElement.current));
6321
6324
  const [linkCoordinates, setLinkCoordinates] = useState(defaultLinkCoordinates);
6322
6325
  const getPluridLinkCoordinates = () => {
6323
6326
  const link = linkElement.current;