jotai icon indicating copy to clipboard operation
jotai copied to clipboard

👻 Primitive and flexible state management for React

Results 69 jotai issues
Sort by recently updated
recently updated
newest added

## Summary - Add back `dev4_restore_atoms` method to store v2 - Remove internal types for store1 (I no longer need them for v1, just v2 suffices😅)

https://jsr.io/@jotai/jotai/2.7.0-jsr.0 "exclude" config doesn't work well.

Just a failing test case for: When an async derived atom picks up a dep asynchronously that never resolves, the derivation never settles even when a subsequent update of the...

## Summary Here is a problem, where `moduleInputParamsAtom` in `Node` component returns `null` after promise has resolved, but should return an object. But another derived atom `isSomeModuleAtom` returns correct value....

## Summary useAtomValue called rerender inside useEffect, which led to an additional render, and this PR optimized that performance issue add a optimization test. ## Check List - [x] `pnpm...

## Related Issues or Discussions Fixes #2554 ## Summary It seems a regression with #2396. ## Check List - [x] `pnpm run prettier` for formatting code and docs

This will make `store2` introduced in #2463, the default store.

- Simplify subscription logic - Fix #2225

## Related Issues or Discussions Replaces PR: https://github.com/pmndrs/jotai/pull/2569 ## Context [jotai-scope](https://github.com/jotaijs/jotai-scope) implementation can be made simpler if the store exposed the ability to customize which atom config to reference based...

https://github.com/pmndrs/jotai/discussions/2579#discussioncomment-9812492 Just for testing.