@lukekaalim/act-backstage 1.1.0 → 1.1.1
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.
- package/package.json +6 -2
- package/render.ts +1 -1
- package/space.ts +3 -3
- package/deps.ts +0 -2
package/package.json
CHANGED
package/render.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommitTree, createReconciler } from "@lukekaalim/act-recon";
|
|
2
2
|
import { RenderSpace } from "./space";
|
|
3
|
-
import
|
|
3
|
+
import * as act from '@lukekaalim/act';
|
|
4
4
|
|
|
5
5
|
export type ScheduleRequestFunc<ID> = (callback: () => void) => ID;
|
|
6
6
|
export type ScheduleCancelFunc<ID> = (id: ID) => void;
|
package/space.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as act from '@lukekaalim/act';
|
|
2
|
+
import * as recon from '@lukekaalim/act-recon';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* A "RenderSpace" is a service that manages
|
|
@@ -71,7 +71,7 @@ export const createSimpleRenderSpace = <T, R extends string | Symbol>(
|
|
|
71
71
|
|
|
72
72
|
const commit = tree.commits.get(id) as recon.Commit;
|
|
73
73
|
// Early exit out of parent lookup if someone on the path is null;
|
|
74
|
-
if (commit.element.type === primitiveNodeTypes.null)
|
|
74
|
+
if (commit.element.type === act.primitiveNodeTypes.null)
|
|
75
75
|
return { id, node: null };
|
|
76
76
|
|
|
77
77
|
const node = nodeByCommit.get(id);
|
package/deps.ts
DELETED