question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] atomValues empty using useTransactionObservation_UNSTABLE

See original GitHub issue

The subscription to the observer fires correctly when changing atoms, and returns the correct key (modifiedAtoms) but the atomValues Map is empty.

Im referring to this method: useTransactionObservation_UNSTABLE(({atomValues, atomInfo, modifiedAtoms})

Edit: atomInfo is not empty

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

11reactions
DynamicArraycommented, Jun 5, 2020

Have you defined your atoms with a persistence_UNSTABLE value? export const myAtom = atom({ key: 'myAtom', default: {}, persistence_UNSTABLE: { type: true }, });

0reactions
vdjurdjeviccommented, Aug 4, 2020

Can you tell me if it’s less or more than a month? I know you can’t tell me the real release date for sure, I just need rough estimate what the chances are that it will be more than a month.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Empty divs do not respect CSS hover states when using 'color ...
Issue 275044: Empty divs do not respect CSS hover states when using 'color:' to declare color · 1. Create div (no content) with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found