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/
16import { assert } from './utils'
27
38// 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+
14import {
25 consumeCollection ,
36 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+
14const UNTERMINATED = 0
25const TERMINATED = 1
36
@@ -31,7 +34,6 @@ export function weakMapMemoize<F extends (...args: any[]) => any>(func: F) {
3134
3235 let fnNode = createCacheNode ( )
3336
34- // console.log('Creating memoized function')
3537 function memoized ( ) {
3638 let cacheNode = fnNode
3739
You can’t perform that action at this time.
0 commit comments