{"id":17126387,"url":"https://github.com/kellpossible/reactive-state","last_synced_at":"2025-06-13T08:06:48.119Z","repository":{"id":56036312,"uuid":"283285974","full_name":"kellpossible/reactive-state","owner":"kellpossible","description":"A library for managing global application state (similar to redux).","archived":false,"fork":false,"pushed_at":"2021-05-19T05:12:36.000Z","size":262,"stargazers_count":14,"open_issues_count":9,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-13T18:29:27.621Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/kellpossible.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-28T17:46:40.000Z","updated_at":"2024-11-04T21:30:38.000Z","dependencies_parsed_at":"2022-08-15T11:50:56.295Z","dependency_job_id":null,"html_url":"https://github.com/kellpossible/reactive-state","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/kellpossible/reactive-state","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellpossible%2Freactive-state","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellpossible%2Freactive-state/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellpossible%2Freactive-state/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellpossible%2Freactive-state/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kellpossible","download_url":"https://codeload.github.com/kellpossible/reactive-state/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellpossible%2Freactive-state/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259606975,"owners_count":22883559,"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-10-14T18:47:51.539Z","updated_at":"2025-06-13T08:06:48.101Z","avatar_url":"https://github.com/kellpossible.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reactive-state [![crates.io badge](https://img.shields.io/crates/v/reactive-state.svg)](https://crates.io/crates/reactive-state) [![docs.rs badge](https://docs.rs/reactive-state/badge.svg)](https://docs.rs/reactive-state/) [![license badge](https://img.shields.io/github/license/kellpossible/reactive-state)](https://github.com/kellpossible/reactive-state/blob/master/LICENSE.txt) [![github action badge](https://github.com/kellpossible/reactive-state/workflows/Rust/badge.svg)](https://github.com/kellpossible/reactive-state/actions?query=workflow%3ARust)\n\nThis library is inspired by [redux](https://redux.js.org/), and designed to be\nused within Rust GUI applications to manage centralised global state which\nbehaves in a predictable way.\n\n## Usage\n\n### Optional Features\n\nThe following optional crate features can be enabled:\n\n+ `\"simple_logger\"` - Logging middleware in the `simple_logger` module which uses the `log` macros.\n+ `\"web_logger\"` - Logging middleware in the  `web_logger` module, for applications running  in the browser using [wasm-bindgen](https://crates.io/crates/wasm-bindgen).\n+ `\"yew\"` - Support for compatibility trait implementations on [yew](https://crates.io/crates/yew) types.\n\n## Middleware\n\nThe behaviour of the system is customisable via middleware, and provided in this\nlibrary are a couple of examples, a simple logger, and a web based logger\ninspired by [redux-logger](https://github.com/LogRocket/redux-logger).\n\n![web_logger](./screenshots/reactive_state_20200601.png)\n*The `web_logger` Middleware*\n\n### Available Middleware\n\nAside from the built in middleware `web_logger` and `simple_logger` (available via crate features), here is a list of available middleware crates:\n\n+ [`switch-router-middleware`](https://github.com/kellpossible/switch-router-middleware) - Routing middleware for [reactive-state](https://crates.io/crates/reactive-state), which makes use of [switch-router](https://github.com/kellpossible/switch-router).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkellpossible%2Freactive-state","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkellpossible%2Freactive-state","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkellpossible%2Freactive-state/lists"}