diff options
author | bobzel <zzzman@gmail.com> | 2021-03-24 18:50:27 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-24 18:50:27 -0400 |
commit | 147cd8618023884b9eb60a79d5efe53abefe9c47 (patch) | |
tree | 539ce5231106bc480ca1c57dcec2e47517921aa3 /src/fields/util.ts | |
parent | cb082c8912156eb6c6f20f6a3b4d6350283fe2d2 (diff) |
redid how LinkManager stores links on documents by putting them on the Doc itself instead of as a computedFn. This has a signifcant effect on efficiency since adding a link to one document will no longer invalidate every other view that references *any* document's links
Diffstat (limited to 'src/fields/util.ts')
-rw-r--r-- | src/fields/util.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fields/util.ts b/src/fields/util.ts index 631cb7160..6c9c9d45c 100644 --- a/src/fields/util.ts +++ b/src/fields/util.ts @@ -19,12 +19,11 @@ function _readOnlySetter(): never { throw new Error("Documents can't be modified in read-only mode"); } -const tracing = false; +const tracing = true; export function TraceMobx() { tracing && trace(); } - export interface GetterResult { value: FieldResult; shouldReturn?: boolean; |