{"id":15150455,"url":"https://github.com/itstoreall/signal-state","last_synced_at":"2026-01-19T06:32:57.695Z","repository":{"id":216185896,"uuid":"740554559","full_name":"itstoreall/signal-state","owner":"itstoreall","description":"Signal State","archived":false,"fork":false,"pushed_at":"2024-01-28T15:07:24.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T07:52:28.465Z","etag":null,"topics":["createcontext","effect","preact","react","signals","vitejs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/itstoreall.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":"2024-01-08T15:27:30.000Z","updated_at":"2024-01-14T17:24:57.000Z","dependencies_parsed_at":"2024-09-21T21:03:30.875Z","dependency_job_id":"1d30c4f0-4111-4ff8-bdb6-24c86522f7c3","html_url":"https://github.com/itstoreall/signal-state","commit_stats":null,"previous_names":["itstoreall/signal-state"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itstoreall/signal-state","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itstoreall%2Fsignal-state","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itstoreall%2Fsignal-state/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itstoreall%2Fsignal-state/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itstoreall%2Fsignal-state/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itstoreall","download_url":"https://codeload.github.com/itstoreall/signal-state/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itstoreall%2Fsignal-state/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["createcontext","effect","preact","react","signals","vitejs"],"created_at":"2024-09-26T14:04:31.612Z","updated_at":"2026-01-19T06:32:57.679Z","avatar_url":"https://github.com/itstoreall.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Signal State\n\nThe State with GlobalContext [GitHub branch](https://github.com/itstoreall/signal-state/tree/backup-multi-state-globalcontext)\n\nThe State without GlobalContext [GitHub branch](https://github.com/itstoreall/signal-state/tree/backup-state-without-global-context)\n\n--\n\n### How to use:\n\n- Add a new state config in the states/index.ts\n- Add a new type of the state in the states/types.ts\n- Add this new type to the CustomType in the states/types.ts\n\n--\n\n_Primitive values:_\n\n```\nimport state from '../signalState';\n\nconst stateNameValue = state.stateName.get();\nstate.stateName.set(value, delay)\nstate.stateName.isStore\n```\n\n_Value is an object:_\n\n```\nimport \\* as types from '../signalState/states/types';\n\nconst stateNameValue = state.third.get() as types.StateName;\n\nreturn \u003cdiv\u003e{`Name: ${stateNameValue.name}`}\u003c/div\u003e;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitstoreall%2Fsignal-state","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitstoreall%2Fsignal-state","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitstoreall%2Fsignal-state/lists"}