{"id":20586455,"url":"https://github.com/kai3341/wrap-mutant","last_synced_at":"2025-04-14T21:26:22.511Z","repository":{"id":218288414,"uuid":"746044882","full_name":"kai3341/wrap-mutant","owner":"kai3341","description":"Allows object mutating and changing its reference without recreating","archived":false,"fork":false,"pushed_at":"2025-03-21T16:37:51.000Z","size":476,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T09:36:22.544Z","etag":null,"topics":["mutation","performance","react","typescript"],"latest_commit_sha":null,"homepage":"","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/kai3341.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-20T22:33:37.000Z","updated_at":"2024-02-15T01:11:22.000Z","dependencies_parsed_at":"2024-11-16T08:18:05.292Z","dependency_job_id":null,"html_url":"https://github.com/kai3341/wrap-mutant","commit_stats":null,"previous_names":["kai3341/wrap-mutant"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai3341%2Fwrap-mutant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai3341%2Fwrap-mutant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai3341%2Fwrap-mutant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kai3341%2Fwrap-mutant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kai3341","download_url":"https://codeload.github.com/kai3341/wrap-mutant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248962068,"owners_count":21190126,"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":["mutation","performance","react","typescript"],"created_at":"2024-11-16T07:11:50.366Z","updated_at":"2025-04-14T21:26:22.484Z","avatar_url":"https://github.com/kai3341.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wrap mutant\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=social\u0026logo=github)](https://github.com/kai3341/wrap-mutant/blob/main/LICENSE)\n[![Telegram](https://img.shields.io/badge/Community-blue.svg?style=social\u0026logo=telegram)](https://t.me/wrap_mutant)\n\nObject mutation is easy and extremelly fast. But such libraries like react make us to rebuild objects on every their change. It's not a problem on simple and small objects. When your object is a big array, your application become slow. When you are trying to handle complicated deeply nested object, it becomes a brain cancer.\n\nSolution is in wrapping that big or complex objects into [Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) object.\n\n## Examples\n\nreactflow example [[demo](https://kai3341.github.io/d73bce02-46a1-4e59-895a-4863c2fc48f0/) | [repo](https://github.com/kai3341/d73bce02-46a1-4e59-895a-4863c2fc48f0)]\n\n- [/src/pages/projects/projects.tsx](https://github.com/kai3341/d73bce02-46a1-4e59-895a-4863c2fc48f0/blob/master/src/pages/projects/projects.tsx)\n- [/src/lib/statemgr.ts](https://github.com/kai3341/d73bce02-46a1-4e59-895a-4863c2fc48f0/blob/master/src/lib/statemgr.ts)\n\n[pravosleva](https://github.com/pravosleva)'s substring-highlight-sample [[demo](https://kai3341.github.io/substring-highlight-sample/) | [repo](https://github.com/kai3341/substring-highlight-sample)]\n\n- [/src/pages/uremont/reviews/kai3341-sample/Sample.tsx](https://github.com/kai3341/substring-highlight-sample/blob/master/src/pages/uremont/reviews/kai3341-sample/Sample.tsx)\n\n## Subpackages:\n\n[![Just core. Tiny and easy](https://img.shields.io/badge/%40wrap--mutant%2Fcore-blue.svg?style=social\u0026logo=github)](./packages/core/)\n[![NPM Version](https://img.shields.io/npm/v/%40wrap-mutant%2Fcore?style=social\u0026logo=npm)](https://www.npmjs.com/package/@wrap-mutant/core)\n\n[![Utils solve some problems](https://img.shields.io/badge/%40wrap--mutant%2Futils-blue.svg?style=social\u0026logo=github)](./packages/utils/)\n[![NPM Version](https://img.shields.io/npm/v/%40wrap-mutant%2Futils?style=social\u0026logo=npm)](https://www.npmjs.com/package/@wrap-mutant/utils)\n\n[![React integration](https://img.shields.io/badge/%40wrap--mutant%2Freact-blue.svg?style=social\u0026logo=github)](./packages/react/)\n[![NPM Version](https://img.shields.io/npm/v/%40wrap-mutant%2Freact?style=social\u0026logo=npm)](https://www.npmjs.com/package/@wrap-mutant/react)\n\n[![React. Rendered Array](https://img.shields.io/badge/%40wrap--mutant%2Freact--rendered--array-blue.svg?style=social\u0026logo=github)](./packages/react-renddered-array/)\n[![NPM Version](https://img.shields.io/npm/v/%40wrap-mutant%2Freact-rendered-array?style=social\u0026logo=npm)](https://www.npmjs.com/package/@wrap-mutant/react-renddered-array)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkai3341%2Fwrap-mutant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkai3341%2Fwrap-mutant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkai3341%2Fwrap-mutant/lists"}