{"id":20270385,"url":"https://github.com/zcaudate/js-blessed.store-test","last_synced_at":"2025-03-03T23:12:49.366Z","repository":{"id":81855662,"uuid":"367123151","full_name":"zcaudate/js-blessed.store-test","owner":"zcaudate","description":"Stores with jotai and valtio","archived":false,"fork":false,"pushed_at":"2021-05-14T01:04:04.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T05:42:27.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zcaudate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-13T17:23:13.000Z","updated_at":"2021-05-14T01:04:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"d77c1529-45d0-421f-8712-6e6a32b316ce","html_url":"https://github.com/zcaudate/js-blessed.store-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcaudate%2Fjs-blessed.store-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcaudate%2Fjs-blessed.store-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcaudate%2Fjs-blessed.store-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcaudate%2Fjs-blessed.store-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zcaudate","download_url":"https://codeload.github.com/zcaudate/js-blessed.store-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241753145,"owners_count":20014252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T12:30:07.453Z","updated_at":"2025-03-03T23:12:49.328Z","avatar_url":"https://github.com/zcaudate.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Issue with Suspense\n\nThere is a current bug with jotai and suspense. Maybe it's because I'm\n[using it\nwrong](https://github.com/zcaudate/js-blessed.store-test/blob/master/src/main.js#L30-L34).\nOnce the **FETCH** button is clicked, which sets the atom (initially\nnull) with a promise:\n\n![](https://user-images.githubusercontent.com/1455572/118162336-333f3e00-b453-11eb-9ff2-a82e7a376774.png)\n\nIt triggers an error in the Suspense element:\n\n![](https://user-images.githubusercontent.com/1455572/118162341-35a19800-b453-11eb-9a53-3a1b4cfe09c3.png)\n\nThe error:\n\n``` javascript\n// React will try to recreate this component tree from scratch using the error boundary you provided, Debug.\n[Bug] deleting atomState with read promise {\n  toString: [Function: toString],\n  init: null,\n  read: [Function (anonymous)],\n  write: [Function (anonymous)],\n  id: 'js-blessed.store-test.main/UserData',\n  section: 'js-blessed.store-test.main/User'\n}\n```\n\n### Commands\n\n``` shell\nmake init\nmake dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcaudate%2Fjs-blessed.store-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzcaudate%2Fjs-blessed.store-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcaudate%2Fjs-blessed.store-test/lists"}