{"id":28399798,"url":"https://github.com/forsigner/stook","last_synced_at":"2025-06-28T02:31:26.071Z","repository":{"id":46536988,"uuid":"220726724","full_name":"forsigner/stook","owner":"forsigner","description":"A minimalist design state management library for React.","archived":false,"fork":false,"pushed_at":"2023-04-10T09:19:21.000Z","size":1984,"stargazers_count":89,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-08T08:41:58.778Z","etag":null,"topics":["form","graphql","hooks","react","redux","state-management"],"latest_commit_sha":null,"homepage":"https://stook.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/forsigner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-11-10T01:36:44.000Z","updated_at":"2024-08-29T06:38:08.000Z","dependencies_parsed_at":"2023-07-27T05:09:22.659Z","dependency_job_id":null,"html_url":"https://github.com/forsigner/stook","commit_stats":{"total_commits":214,"total_committers":3,"mean_commits":71.33333333333333,"dds":0.04205607476635509,"last_synced_commit":"194a46b8b9a581c17d8a562301219c21958fc95c"},"previous_names":["0x-z/stook","forsigner/stook","motere/stook","0x-leen/stook","ink-zone/stook","0xzio/stook","0xkee/stook","leenxyz/stook"],"tags_count":98,"template":false,"template_full_name":null,"purl":"pkg:github/forsigner/stook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forsigner%2Fstook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forsigner%2Fstook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forsigner%2Fstook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forsigner%2Fstook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forsigner","download_url":"https://codeload.github.com/forsigner/stook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forsigner%2Fstook/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262363899,"owners_count":23299483,"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":["form","graphql","hooks","react","redux","state-management"],"created_at":"2025-06-01T08:10:57.331Z","updated_at":"2025-06-28T02:31:26.066Z","avatar_url":"https://github.com/forsigner.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stook\n\n[![npm](https://img.shields.io/npm/v/stook.svg)](https://www.npmjs.com/package/stook) [![Coverage Status](https://coveralls.io/repos/github/forsigner/stook/badge.svg?branch=master)](https://coveralls.io/github/forsigner/stook?branch=master) [![Minzipped size](https://img.shields.io/bundlephobia/minzip/stook.svg)](https://bundlephobia.com/result?p=stook) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n\nA minimalist design state management library for React.\n\n## Documentation\n\nThe documentation site of stook is hosted at  [https://stook.vercel.app](https://stook.vercel.app).\n\n## Quick start\n\n**simplest**\n\n```tsx\nimport React from 'react'\nimport { useStore } from 'stook'\n\nfunction Counter() {\n  const [count, setCount] = useStore('Counter', 0)\n  return (\n    \u003cdiv\u003e\n      \u003cp\u003eYou clicked {count} times\u003c/p\u003e\n      \u003cbutton onClick={() =\u003e setCount(count + 1)}\u003eClick me\u003c/button\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\n**share state**\n\n```jsx\nimport React from 'react'\nimport { useStore } from 'stook'\n\nfunction Counter() {\n  const [count, setCount] = useStore('Counter', 0)\n  return (\n    \u003cdiv\u003e\n      \u003cp\u003eYou clicked {count} times\u003c/p\u003e\n      \u003cbutton onClick={() =\u003e setCount(count + 1)}\u003eClick me\u003c/button\u003e\n    \u003c/div\u003e\n  )\n}\n\nfunction Display() {\n  const [count] = useStore('Counter')\n  return \u003cp\u003e{count}\u003c/p\u003e\n}\n\nfunction App() {\n  return (\n    \u003cdiv\u003e\n      \u003cCounter /\u003e\n      \u003cDisplay /\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\n## License\n\n[MIT License](https://github.com/forsigner/stook/blob/master/LICENSE)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforsigner%2Fstook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforsigner%2Fstook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforsigner%2Fstook/lists"}