{"id":13625685,"url":"https://github.com/Omnistac/zedux","last_synced_at":"2025-04-16T10:32:54.451Z","repository":{"id":152762590,"uuid":"339835783","full_name":"Omnistac/zedux","owner":"Omnistac","description":":zap: A Molecular State Engine for React","archived":false,"fork":false,"pushed_at":"2024-10-13T20:20:45.000Z","size":38064,"stargazers_count":362,"open_issues_count":8,"forks_count":7,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-10-30T00:32:48.438Z","etag":null,"topics":["atom","atomic","dependency-injection","extensible","flexible","graph","molecular","powerful","react","state","state-management","zero-configuration"],"latest_commit_sha":null,"homepage":"https://Omnistac.github.io/zedux/","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/Omnistac.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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-02-17T19:38:00.000Z","updated_at":"2024-10-18T07:27:44.000Z","dependencies_parsed_at":"2024-06-11T00:17:55.090Z","dependency_job_id":"27b4630a-a018-4f64-9823-1085c443cf6f","html_url":"https://github.com/Omnistac/zedux","commit_stats":{"total_commits":785,"total_committers":6,"mean_commits":"130.83333333333334","dds":"0.30700636942675164","last_synced_commit":"c1e075ac337ea8359f1a600a50b5088a7572a254"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omnistac%2Fzedux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omnistac%2Fzedux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omnistac%2Fzedux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omnistac%2Fzedux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Omnistac","download_url":"https://codeload.github.com/Omnistac/zedux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223708295,"owners_count":17189755,"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":["atom","atomic","dependency-injection","extensible","flexible","graph","molecular","powerful","react","state","state-management","zero-configuration"],"created_at":"2024-08-01T21:01:59.479Z","updated_at":"2024-11-08T15:30:20.319Z","avatar_url":"https://github.com/Omnistac.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Zedux\n\n[![Build Status](https://github.com/Omnistac/zedux/actions/workflows/coverage.yml/badge.svg)](https://github.com/Omnistac/zedux/actions/workflows/coverage.yml)\n[![codecov.io](https://codecov.io/gh/Omnistac/zedux/coverage.svg)](https://app.codecov.io/gh/Omnistac/zedux)\n[![npm](https://img.shields.io/npm/v/@zedux/react.svg)](https://www.npmjs.com/package/@zedux/react)\n[![license](https://shields.io/badge/license-MIT-informational)](https://github.com/Omnistac/zedux/tree/master/LICENSE.md)\n\nA Molecular State Engine for React.\n\nZedux is a multi-paradigm state management tool that features a powerful composable store model wrapped in a DI-driven atomic architecture.\n\n## Installation\n\n```bash\nnpm install @zedux/react # npm\nyarn add @zedux/react # yarn\npnpm add @zedux/react # pnpm\n```\n\nThe React package (`@zedux/react`) contains everything you need to use Zedux in a React app - the [core store model](https://www.npmjs.com/package/@zedux/core), the [core atomic model](https://www.npmjs.com/package/@zedux/atoms), and the React-specific APIs.\n\n`@zedux/react` has a peer dependency on React. It supports React version 18 and up.\n\n## Intro\n\nWe borrowed ideas from dozens of state management tools over the past 5 years, invented a few ourselves, and put it all together in one powerhouse of a state management library.\n\nMost notably, Zedux borrows ideas from Redux, Recoil, and React Query. Zedux takes the unique approach of separating the state layer (stores) from the architecture layer (atoms). This allows for a powerful Dependency Injection model, conceptually similar to Angular's but simpler and more dynamic.\n\nSound complex? Zedux is actually very beginner-friendly. In fact, here's all you need to begin:\n\n```tsx\nimport { atom, useAtomState } from '@zedux/react'\n\nconst greetingAtom = atom('greeting', 'Hello, World!')\n\nfunction Greeting() {\n  const [greeting, setGreeting] = useAtomState(greetingAtom)\n\n  return (\n    \u003cinput\n      onChange={event =\u003e setGreeting(event.target.value)}\n      value={greeting}\n    /\u003e\n  )\n}\n```\n\nWe'll break down this example and so much more in [the docs](https://omnistac.github.io/zedux/docs/walkthrough/quick-start).\n\n## Learn Zedux\n\nTo embark on the journey of mastering Zedux, jump into [the quick start](https://Omnistac.github.io/zedux/docs/walkthrough/quick-start).\n\nIf you prefer something more high-level, [the introduction's](https://omnistac.github.io/zedux/docs/about/introduction) a decent place to start. Or if you want to learn Everything Everywhere All at Once, the [API docs](https://omnistac.github.io/zedux/docs/api/api-overview) or [repo source code and tests](https://github.com/Omnistac/zedux/tree/master/packages) are real page-turners.\n\nHappy coding!\n\n## Contributing\n\nContributions an any level are absolutely welcome! Have a look at the [contribution guidelines](https://github.com/Omnistac/zedux/blob/master/CONTRIBUTING.md).\n\nBugs can be reported [here](https://github.com/Omnistac/zedux/issues).\n\nQuestions, feature requests, ideas, and links to cool projects or examples are always welcome in the [discussions page](https://github.com/Omnistac/zedux/discussions).\n\n## License\n\nThe [MIT License](https://github.com/Omnistac/zedux/blob/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOmnistac%2Fzedux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOmnistac%2Fzedux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOmnistac%2Fzedux/lists"}