{"id":21971187,"url":"https://github.com/xcodebuild/build-your-own-react","last_synced_at":"2026-04-11T13:31:10.749Z","repository":{"id":66354072,"uuid":"123913333","full_name":"xcodebuild/build-your-own-react","owner":"xcodebuild","description":"Build Your Own React","archived":false,"fork":false,"pushed_at":"2018-03-06T07:09:44.000Z","size":940,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T02:33:21.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codefalling.github.io/build-your-own-react/","language":null,"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/xcodebuild.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":"2018-03-05T12:02:03.000Z","updated_at":"2018-03-05T12:42:20.000Z","dependencies_parsed_at":"2023-02-24T14:01:11.079Z","dependency_job_id":null,"html_url":"https://github.com/xcodebuild/build-your-own-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2Fbuild-your-own-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2Fbuild-your-own-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2Fbuild-your-own-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2Fbuild-your-own-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xcodebuild","download_url":"https://codeload.github.com/xcodebuild/build-your-own-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245031509,"owners_count":20549925,"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-11-29T14:49:18.792Z","updated_at":"2025-12-30T23:42:25.648Z","avatar_url":"https://github.com/xcodebuild.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build Your Own React\n\n# 背景\n\n一些文章通过讲述 React 的使用或者最佳范式试图让你理解 React 干了什么，也有一些文章是直接分析 React 的源码。而只谈使用过于空泛，读源码的工作量又太大，容易陷入无边的细节。本文则试图填补这中间的空白，我们会实现一个简化版的 React，覆盖 React 的一些核心功能。从而让我们身临其境地理解 React 到底为我们解决了什么问题，以及为什么要这么解决。\n\n由于 React 本身过于复杂，笔者本身也不能非常全面的了解其具体的实现和表现，所以 React-tiny 并不会拘泥于 React 的真正实现方式，我会按照自己的理解尽可能贴近 React 的行为，如果有不一致的地方还望指正。\n\n## Why Gitbook\n\n之前有尝试过通过多篇文章的方式来讲清楚，但是发现文章的篇幅很难一次性 cover 住这么多概念，介绍的内容一多表达就容易混乱，于是这次尝试通过电子书的形式，每个章节尝试讲清楚足够简单的概念和问题。\n\n同时选择 Gitbook 这种形式也是希望有更多的人参与到编辑和改进中来，一个 Issue 也能帮助本书变得更好。\n\n# 面向谁\n\n本电子书面向对 React 的一些基本概念（至少会用）有了解的开发者，需要了解一些 JavaScript 基础。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcodebuild%2Fbuild-your-own-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxcodebuild%2Fbuild-your-own-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcodebuild%2Fbuild-your-own-react/lists"}