Skip to content

Instantly share code, notes, and snippets.

@probeiuscorp
Created May 15, 2024 18:19
Show Gist options
  • Save probeiuscorp/c8b73e4dbb25e2fd212597084c925744 to your computer and use it in GitHub Desktop.
Save probeiuscorp/c8b73e4dbb25e2fd212597084c925744 to your computer and use it in GitHub Desktop.
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: {
d: Map(2) {
{
toString: [Function: toString],
init: [Array],
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: [Array] },
{
toString: [Function: toString],
init: false,
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: false }
},
v: [ 100 ]
}
- readAtomState (store.ts:382:9)
- <anonymous> (store.ts:552:37)
- Set.forEach (<anonymous>)
- loop2 (store.ts:542:24)
- recomputeDependents (store.ts:563:5)
- setter (store.ts:585:11)
- Object.defaultWrite (atom.ts:120:10)
- writeAtomState (store.ts:600:25)
- Object.writeAtom (store.ts:609:20)
- <anonymous> (test.ts:34:7)
<= not from cache: resolving dependencies
readAtomState force: undefined atomState: {
d: Map(2) {
{
toString: [Function: toString],
init: [Array],
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: [Array] },
{
toString: [Function: toString],
init: false,
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: true }
},
v: []
}
- readAtomState (store.ts:382:9)
- getter (store.ts:448:22)
- Object.read (test.ts:18:22)
- readAtomState (store.ts:482:35)
- <anonymous> (store.ts:552:37)
- Set.forEach (<anonymous>)
- loop2 (store.ts:542:24)
- recomputeDependents (store.ts:563:5)
- setter (store.ts:585:11)
- Object.defaultWrite (atom.ts:120:10)
<= returning from cache since mounted
=> (should be "is-empty") is-empty
readAtomState force: undefined atomState: undefined
- readAtomState (store.ts:419:9)
- mountAtom (store.ts:672:5)
- Object.subscribeAtom (store.ts:826: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: undefined atomState: {
d: Map(2) {
{
toString: [Function: toString],
init: [Array],
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: [Array] },
{
toString: [Function: toString],
init: false,
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: false }
},
v: [ 100 ]
}
- readAtomState (store.ts:419:9)
- getter (store.ts:486:22)
- Object.read (test.ts:18:22)
- readAtomState (store.ts:520:35)
- recomputeDependents (store.ts:589:31)
- setter (store.ts:619:11)
- Object.defaultWrite (atom.ts:120:10)
- writeAtomState (store.ts:634:25)
- Object.writeAtom (store.ts:643:20)
- <anonymous> (test.ts:34:7)
<= returning from cache since mounted
readAtomState force: true atomState: {
d: Map(2) {
{
toString: [Function: toString],
init: [Array],
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: [Array] },
{
toString: [Function: toString],
init: false,
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: false }
},
v: [ 100 ]
}
- readAtomState (store.ts:419:9)
- recomputeDependents (store.ts:589:31)
- setter (store.ts:619:11)
- Object.defaultWrite (atom.ts:120:10)
- writeAtomState (store.ts:634:25)
- Object.writeAtom (store.ts:643:20)
- <anonymous> (test.ts:34:7)
- Object.<anonymous> (test.ts:35:63)
<= not from cache: resolving dependencies
=> (should be "is-empty") has-data
readAtomState force: undefined atomState: undefined
- readAtomState (store.ts:419:9)
- mountAtom (store.ts:672:5)
- Object.subscribeAtom (store.ts:826: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: {
d: Map(2) {
{
toString: [Function: toString],
init: [Array],
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: [Array] },
{
toString: [Function: toString],
init: false,
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: false }
},
v: [ 100 ]
}
- readAtomState (store.ts:419:9)
- getter (store.ts:486:22)
- Object.read (test.ts:18:22)
- readAtomState (store.ts:520:35)
- recomputeDependents (store.ts:589:31)
- setter (store.ts:619:11)
- Object.defaultWrite (atom.ts:120:10)
- writeAtomState (store.ts:634:25)
- Object.writeAtom (store.ts:643:20)
- <anonymous> (test.ts:34:7)
<= not from cache: resolving dependencies
readAtomState force: undefined atomState: {
d: Map(2) {
{
toString: [Function: toString],
init: [Array],
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: [Array] },
{
toString: [Function: toString],
init: false,
read: [Function: defaultRead],
write: [Function: defaultWrite]
} => { d: [Map], v: true }
},
v: []
}
- readAtomState (store.ts:419:9)
- recomputeDependents (store.ts:589:31)
- setter (store.ts:619:11)
- Object.defaultWrite (atom.ts:120:10)
- writeAtomState (store.ts:634:25)
- Object.writeAtom (store.ts:643:20)
- <anonymous> (test.ts:34:7)
- Object.<anonymous> (test.ts:35:63)
<= returning from cache since mounted
=> (should be "is-empty") is-empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment