{"id":13715109,"url":"https://github.com/ckinmind/mobx-share","last_synced_at":"2025-05-07T03:31:13.685Z","repository":{"id":217188133,"uuid":"92418632","full_name":"ckinmind/mobx-share","owner":"ckinmind","description":"🔑一个分享mobx的在线演示ppt","archived":false,"fork":false,"pushed_at":"2017-06-01T16:02:34.000Z","size":832,"stargazers_count":208,"open_issues_count":13,"forks_count":23,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-14T03:34:22.421Z","etag":null,"topics":["d3","mobx","mobx-ppt","mobx-share","react"],"latest_commit_sha":null,"homepage":"https://ckinmind.github.io/mobx-share","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ckinmind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-05-25T15:42:18.000Z","updated_at":"2024-07-29T14:20:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"e52236f7-7e29-45f7-9f5e-e55f346c1310","html_url":"https://github.com/ckinmind/mobx-share","commit_stats":null,"previous_names":["ckinmind/mobx-share"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckinmind%2Fmobx-share","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckinmind%2Fmobx-share/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckinmind%2Fmobx-share/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckinmind%2Fmobx-share/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ckinmind","download_url":"https://codeload.github.com/ckinmind/mobx-share/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252806426,"owners_count":21807201,"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":["d3","mobx","mobx-ppt","mobx-share","react"],"created_at":"2024-08-03T00:00:54.209Z","updated_at":"2025-05-07T03:31:13.677Z","avatar_url":"https://github.com/ckinmind.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# mobx-share\n![mobx-share](https://raw.githubusercontent.com/ckinmind/mobx-share/master/src/image/demo.gif)\n一个关于mobx的研究和分享演示, 在线访问 [https://ckinmind.github.io/mobx-share](https://ckinmind.github.io/mobx-share)\n\n\n## 技术栈\n- React\n- Mobx\n- d3.js\n- antd\n\n## 项目说明\n- 本项目是关于mobx的研究, 以ppt的形式展示mobx的各个api以及会遇到的问题\n- 项目中的markdown使用的是 `prismjs` 和 `react-markdown`\n\n## 版本更新\n- **[v1.0]**: 初始版本，详细更新查看 [issue 2](https://github.com/ckinmind/mobx-share/issues/2)\n\n\n## 如何开始\n```js\n\u003e git clone https://github.com/ckinmind/mobx-share.git\n\u003e cd mobx-share\n\u003e npm install\n\u003e npm start\n```\n\n## 内容说明\n```\n- API\n  - mobx\n    - @observable\n    - @action\n    - autorun / when / reaction\n    - @computed\n    - intercept \u0026 observe\n    - 工具API: extendObservable, toJS, isObservable\n  - mobx-react\n    - @observer\n    - Observer\n    - Provider / inject\n    - componentWillReact\n    - PropTypes\n\n- Observable类型\n  - object\n    - extendObservable\n  - array\n    - clear/replace/remove方法\n    - slice/ toJS方法\n    - arrays更新触发\n  - maps\n    - 两种定义的差别\n    - 和ES6map的区别\n\n- 问题\n  - 1. 关于清理autorun\n  - 2. 关于触发视图更新的一种方案\n  - 3. 关于store的传递 / 单例模式\n  - 4. 关于细粒度拆分\n  - 5. 关于跨组件触发更新的问题\n  - 6. 在async/await中使用runInAction\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckinmind%2Fmobx-share","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fckinmind%2Fmobx-share","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckinmind%2Fmobx-share/lists"}