{"id":16266511,"url":"https://github.com/donnikitos/react-hook-usemutable","last_synced_at":"2026-02-26T19:07:41.388Z","repository":{"id":177418961,"uuid":"660371767","full_name":"donnikitos/react-hook-useMutable","owner":"donnikitos","description":"Utilities to use the mutableJS library with React","archived":false,"fork":false,"pushed_at":"2025-04-21T09:17:00.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-03T14:44:40.623Z","etag":null,"topics":["front-end","frontend","hooks","react","react-hooks","react-signals","signal-processing","signals"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-hook-usemutable","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/donnikitos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"donnikitos","patreon":null,"open_collective":null,"ko_fi":"donnikitos","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-06-29T21:29:10.000Z","updated_at":"2025-04-21T09:17:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c00e540-cca1-4698-a102-d2b3c5bd2f18","html_url":"https://github.com/donnikitos/react-hook-useMutable","commit_stats":null,"previous_names":["donnikitos/react-hook-usemutable","donnikitos/react-usemutable"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/donnikitos/react-hook-useMutable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donnikitos%2Freact-hook-useMutable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donnikitos%2Freact-hook-useMutable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donnikitos%2Freact-hook-useMutable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donnikitos%2Freact-hook-useMutable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donnikitos","download_url":"https://codeload.github.com/donnikitos/react-hook-useMutable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donnikitos%2Freact-hook-useMutable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29868082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T18:42:30.764Z","status":"ssl_error","status_checked_at":"2026-02-26T18:41:47.936Z","response_time":89,"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":["front-end","frontend","hooks","react","react-hooks","react-signals","signal-processing","signals"],"created_at":"2024-10-10T17:42:14.806Z","updated_at":"2026-02-26T19:07:41.379Z","avatar_url":"https://github.com/donnikitos.png","language":"TypeScript","funding_links":["https://github.com/sponsors/donnikitos","https://ko-fi.com/donnikitos","https://ko-fi.com/Y8Y2ALMG","https://www.buymeacoffee.com/donnikitos","https://www.paypal.com/donate/?hosted_button_id=EPXZPRTR7JHDW"],"categories":[],"sub_categories":[],"readme":"# react-hook-usemutable\n\n[![npm](https://img.shields.io/npm/dt/react-hook-usemutable?style=for-the-badge)](https://www.npmjs.com/package/react-hook-usemutable) [![GitHub Repo stars](https://img.shields.io/github/stars/donnikitos/react-hook-useMutable?label=GitHub%20Stars\u0026style=for-the-badge)](https://github.com/donnikitos/react-hook-useMutable) [![GitHub](https://img.shields.io/github/license/donnikitos/react-hook-useMutable?color=blue\u0026style=for-the-badge)](https://github.com/donnikitos/react-hook-useMutable/blob/master/LICENSE)\n[![GitHub last commit](https://img.shields.io/github/last-commit/donnikitos/react-hook-useMutable?style=for-the-badge)](https://github.com/donnikitos/react-hook-useMutable) [![Issues](https://img.shields.io/github/issues/donnikitos/react-hook-useMutable?style=for-the-badge)](https://github.com/donnikitos/react-hook-useMutable/issues)\n\nA utility to simplify the use of the [@mutableJS/core](https://www.npmjs.com/package/@mutablejs/core) reactivity with React.\n\n## Why?\n\n`react-hook-usemutable` acts as the bridge between the reactivity system of `@mutablejs/core` and the React component lifecycle.\nWith this utility you will be able to use React in island-style architectures similar to those found in Astro...\n\n## Installation\n\nInstall with **npm**:\n\n```bash\n    npm install @mutablejs/core react-hook-usemutable\n```\n\nInstall with **yarn**:\n\n```bash\n    yarn add @mutablejs/core react-hook-usemutable\n```\n\nKeep in mind the repository depends on the `@mutablejs/core` package.\n\n## Usage/Examples\n\n**initialize inside of components**\n\n```typescript\nimport { mutable } from '@mutablejs/core';\nimport useMutable from 'react-hook-usemutable';\n\nconst magicValue = mutable(0);\n\n// Demoing value change\nsetInterval(() =\u003e {\n\tmagicValue.value++;\n}, 500);\n\nfunction ShowSomeMagic() {\n\tconst value = useMutable(magicValue);\n\n\treturn `Current value: ${value}`;\n}\n```\n\n**As a state container / store**\n\n```typescript\nimport { mutable } from '@mutablejs/core';\nimport { createUseMutable } from 'react-hook-usemutable';\n\nconst magicValue = mutable(0);\n\nconst useMagicValue = createUseMutable(magicValue);\n\n// Demoing value change\nsetInterval(() =\u003e {\n\tmagicValue.value++;\n}, 500);\n\nfunction ShowSomeMagic() {\n\tconst value = useMagicValue();\n\n\treturn `Current value: ${value}`;\n}\n```\n\n## Authors\n\n-   [@donnikitos](https://www.github.com/donnikitos)\n\n## Feedback\n\nAny feedback? Join our [Discord server](https://discord.gg/gNdgy8uS3R) and reach out to us.\\\nWe are open to suggestions, ideas and collaboration.\n\n## Support\n\nLove open source? Enjoying my project?\\\nYour support can keep the momentum going! Consider a donation to fuel the creation of more innovative open source software.\n\n| via Ko-Fi                                                                         | Buy me a coffee                                                                                                                                                 | via PayPal                                                                                                                                                             |\n| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y2ALMG) | \u003ca href=\"https://www.buymeacoffee.com/donnikitos\" target=\"_blank\"\u003e\u003cimg src=\"https://nititech.de/donate-buymeacoffee.png\" alt=\"Buy Me A Coffee\" width=\"174\"\u003e\u003c/a\u003e | \u003ca href=\"https://www.paypal.com/donate/?hosted_button_id=EPXZPRTR7JHDW\" target=\"_blank\"\u003e\u003cimg src=\"https://nititech.de/donate-paypal.png\" alt=\"PayPal\" width=\"174\"\u003e\u003c/a\u003e |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonnikitos%2Freact-hook-usemutable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonnikitos%2Freact-hook-usemutable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonnikitos%2Freact-hook-usemutable/lists"}