{"id":13601957,"url":"https://github.com/waynecz/tiny-react-with-hooks","last_synced_at":"2025-03-23T08:31:53.584Z","repository":{"id":92541730,"uuid":"162280705","full_name":"waynecz/tiny-react-with-hooks","owner":"waynecz","description":"⚛︎ Fundamental Implementation of React with Hooks \u0026 VDOM","archived":false,"fork":false,"pushed_at":"2019-03-11T04:21:33.000Z","size":1031,"stargazers_count":20,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T23:27:07.553Z","etag":null,"topics":["hooks","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/waynecz.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":"2018-12-18T11:52:33.000Z","updated_at":"2021-04-30T05:55:29.000Z","dependencies_parsed_at":"2023-05-29T15:30:59.546Z","dependency_job_id":null,"html_url":"https://github.com/waynecz/tiny-react-with-hooks","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynecz%2Ftiny-react-with-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynecz%2Ftiny-react-with-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynecz%2Ftiny-react-with-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynecz%2Ftiny-react-with-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waynecz","download_url":"https://codeload.github.com/waynecz/tiny-react-with-hooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245078067,"owners_count":20557274,"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":["hooks","react"],"created_at":"2024-08-01T18:01:10.689Z","updated_at":"2025-03-23T08:31:53.574Z","avatar_url":"https://github.com/waynecz.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cimg src=\"./assets/logo.png\" /\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003csup\u003eA concise version of React \u003cstrong\u003ejust good enough\u003c/strong\u003e for building uncomplicated UI \u003cbr/\u003e deadly suitable for SDK which cares about the size\u003c/sup\u003e\n\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cpre\u003enpm i \u003ca href=\"https://www.npmjs.com/package/@waynecz/react\"\u003e@waynecz/react\u003c/a\u003e\u003c/pre\u003e\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\u003ch3 \u003e\u003csup\u003eFeatures\u003c/sup\u003e\u003c/h3\u003e\n\n- Basic JSX and Renderer with VirtualDOM(diff \u0026 patch)\n- Functional Component\n- Hooks like `useState` / `useEffect`\n\n\u003cbr/\u003e\n\n\u003ch3 \u003e\u003csup\u003eTodo\u003c/sup\u003e\u003c/h3\u003e\n\n- [ ] `useCallback` / `useMemo` ...\n\n\u003cbr/\u003e\n\n\u003ch3 \u003e\u003csup\u003eDemos\u003c/sup\u003e\u003c/h3\u003e\n\n- [Simple usage](https://codesandbox.io/s/2pkyw29ymp)\n- [Advanced: A Feedback UI](https://codesandbox.io/s/n7yvzjrkoj)\n\n![](./assets/simple-demo.gif)\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\u003ch3\u003e\u003csup\u003eReferences\u003c/sup\u003e\u003c/h3\u003e\n\n- [《Gooact: React in 160 lines of JavaScript》](https://medium.com/@sweetpalma/gooact-react-in-160-lines-of-javascript-44e0742ad60f) by [Paul Marlow](https://github.com/sweetpalma)\n- [《React as a UI Runtime》](https://overreacted.io/react-as-a-ui-runtime/) by [Dan Abramov](https://overreacted.io)\n- [《从零开始实现一个 React》](https://github.com/hujiulong/blog/issues/4) by [Jiuling Hu](https://github.com/hujiulong)\n- [《React hooks: not magic, just arrays》](https://medium.com/@ryardley/react-hooks-not-magic-just-arrays-cd4f1857236e) by [Rudi Yardley](https://github.com/ryardley)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaynecz%2Ftiny-react-with-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaynecz%2Ftiny-react-with-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaynecz%2Ftiny-react-with-hooks/lists"}