Skip to content

issues Search Results · repo:pmndrs/jotai language:TypeScript

Filter by

647 results
 (78 ms)

647 results

inpmndrs/jotai (press backspace or delete to remove)

This started happening with React 19 I have to introduce a delay of 0 (queue macrotask) like so to resolve it: useAtomValue(someAtom, { delay: 0 }) I will work on a shareable reproduction.
  • tien
  • Opened 
    on Dec 6, 2024
  • #2847

Hi I ve noticed a type issue when using createStore in a TS environment. Whenever it s used, the following error appears: Exported variable store has or is using name AtomState from external module ...
  • motistudio
  • Opened 
    on Nov 24, 2024
  • #2836

Use case: You have a lot of derived atoms that are selecting from large object atoms, and want to avoid the small ones publishing changes if their derived values don t change. Publishing changes every ...
  • kevinschaich
  • 2
  • Opened 
    on Nov 2, 2024
  • #2795

This should be checked for or caught and re-thrown as a more helpful error message. To Repro: const value = useAtom(undefined) - TypeError: Invalid value used as weak map key I hit this today ...
  • kevinschaich
  • 1
  • Opened 
    on Oct 19, 2024
  • #2776

https://github.com/pmndrs/jotai/blob/8147e7bdaaddd5ef7baca6215ada7941dc2524d8/src/react/useAtomValue.ts#L42-L51 if this code is kind of like https://reactjs.org/docs/concurrent-mode-suspense.html#approach-3-render-as-you-fetch-using-suspense ...
  • uniho
  • 1
  • Opened 
    on Oct 16, 2024
  • #2772

https://github.com/pmndrs/jotai/blob/6f7551c0f1fb1b5317ed195882c65bf7caf1850f/src/react/useAtomValue.ts#L136-L140 Is that code pure? A React doc says each component should only “think for itself”, and ...
  • uniho
  • Opened 
    on Oct 12, 2024
  • #2768

img width= 1249 alt= image src= https://github.com/user-attachments/assets/db6ec3a6-7b44-48b3-a81d-22a96674e14d The reason for the issue in the jotai project might be the lack of exporting the PrdStore ...
  • shlroland
  • Opened 
    on Sep 30, 2024
  • #2757

👋 Coming over from https://x.com/dai_shi/status/1821338388957388859 - #2698, I see you re running ESLint on all .js, .json, and .ts files: https://github.com/pmndrs/jotai/blob/20e0cde354c77dd7a9aee7bee4f54f83ea56ebb4/package.json#L77 ...
  • JoshuaKGoldberg
  • 1
  • Opened 
    on Aug 8, 2024
  • #2699

I am trying to use atomWithStorage in Jotai with getOnInit set to true in a Next.js environment, but I encounter an error: ReferenceError: localStorage is not defined Due to this error, my client application ...
  • beingtyson
  • Opened 
    on Aug 2, 2024
  • #2690

Actual With const myAtom = atom string () in VSCode I get Expected 1 arguments, but got 0.ts(2554) atom.d.ts(38, 37): An argument for read was not provided Instead, as workaround with const myAtom ...
  • rtritto
  • Opened 
    on Jul 19, 2024
  • #2666
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub