File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change
1
+ // Original autotracking implementation source:
2
+ // - https://gist.github.com/pzuraq/79bf862e0f8cd9521b79c4b6eccdc4f9
3
+ // Additional references:
4
+ // - https://www.pzuraq.com/blog/how-autotracking-works
5
+ // - https://v5.chriskrycho.com/journal/autotracking-elegant-dx-via-cutting-edge-cs/
1
6
import { assert } from './utils'
2
7
3
8
// The global revision clock. Every time state changes, the clock increments.
Original file line number Diff line number Diff line change
1
+ // Original source:
2
+ // - https://github.com/simonihmig/tracked-redux/blob/master/packages/tracked-redux/src/-private/proxy.ts
3
+
1
4
import {
2
5
consumeCollection ,
3
6
dirtyCollection ,
Original file line number Diff line number Diff line change
1
+ // Original source:
2
+ // - https://github.com/facebook/react/blob/0b974418c9a56f6c560298560265dcf4b65784bc/packages/react/src/ReactCache.js
3
+
1
4
const UNTERMINATED = 0
2
5
const TERMINATED = 1
3
6
@@ -31,7 +34,6 @@ export function weakMapMemoize<F extends (...args: any[]) => any>(func: F) {
31
34
32
35
let fnNode = createCacheNode ( )
33
36
34
- // console.log('Creating memoized function')
35
37
function memoized ( ) {
36
38
let cacheNode = fnNode
37
39
You can’t perform that action at this time.
0 commit comments