This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
readAtomState force: undefined atomState: undefined | |
- readAtomState (store.ts:382:9) | |
- mountAtom (store.ts:637:5) | |
- addAtom (store.ts:499:17) | |
- Object.subscribeAtom (store.ts:778:21) | |
- <anonymous> (test.ts:27:7) | |
- Object.<anonymous> (test.ts:35:63) | |
<= not from cache: resolving dependencies | |
=> (should be "no-filter") no-filter | |
readAtomState force: true atomState: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let n = 0 // Line 400 | |
const readAtomState = <Value>( | |
atom: Atom<Value>, | |
force?: boolean, | |
): AtomState<Value> => { | |
// See if we can skip recomputing this atom. | |
const atomState = getAtomState(atom) | |
const isInteresting = atom.debugLabel === 'filteredAtom' | |
const log = (...args) => isInteresting && console.log(...args) | |
if (isInteresting) { |