[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-70626":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},70626,"react.dev","reactjs\u002Freact.dev","reactjs","The React documentation website","https:\u002F\u002Freact.dev\u002F",null,"JavaScript",11761,7896,218,857,0,17,71.7,"Creative Commons Attribution 4.0 International",false,"main",[23,24,25,26],"documentation","javascript","react","website","2026-06-12 04:00:56","# react.dev\n\nThis repo contains the source code and documentation powering [react.dev](https:\u002F\u002Freact.dev\u002F).\n\n## Getting started\n\n### Prerequisites\n\n1. Git\n1. Node: any version starting with v16.8.0 or greater\n1. Yarn: See [Yarn website for installation instructions](https:\u002F\u002Fyarnpkg.com\u002Flang\u002Fen\u002Fdocs\u002Finstall\u002F)\n1. A fork of the repo (for any contributions)\n1. A clone of the [react.dev repo](https:\u002F\u002Fgithub.com\u002Freactjs\u002Freact.dev) on your local machine\n\n### Installation\n\n1. `cd react.dev` to go into the project root\n3. `yarn` to install the website's npm dependencies\n\n### Running locally\n\n1. `yarn dev` to start the development server (powered by [Next.js](https:\u002F\u002Fnextjs.org\u002F))\n1. `open http:\u002F\u002Flocalhost:3000` to open the site in your favorite browser\n\n## Contributing\n\n### Guidelines\n\nThe documentation is divided into several sections with a different tone and purpose. If you plan to write more than a few sentences, you might find it helpful to get familiar with the [contributing guidelines](https:\u002F\u002Fgithub.com\u002Freactjs\u002Freact.dev\u002Fblob\u002Fmain\u002FCONTRIBUTING.md#guidelines-for-text) for the appropriate sections.\n\n### Create a branch\n\n1. `git checkout main` from any folder in your local `react.dev` repository\n1. `git pull origin main` to ensure you have the latest main code\n1. `git checkout -b the-name-of-my-branch` (replacing `the-name-of-my-branch` with a suitable name) to create a branch\n\n### Make the change\n\n1. Follow the [\"Running locally\"](#running-locally) instructions\n1. Save the files and check in the browser\n  1. Changes to React components in `src` will hot-reload\n  1. Changes to markdown files in `content` will hot-reload\n  1. If working with plugins, you may need to remove the `.cache` directory and restart the server\n\n### Test the change\n\n1. If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.\n2. Run `yarn check-all`. (This will run Prettier, ESLint and validate types.)\n\n### Push it\n\n1. `git add -A && git commit -m \"My message\"` (replacing `My message` with a commit message, such as `Fix header logo on Android`) to stage and commit your changes\n1. `git push my-fork-name the-name-of-my-branch`\n1. Go to the [react.dev repo](https:\u002F\u002Fgithub.com\u002Freactjs\u002Freact.dev) and you should see recently pushed branches.\n1. Follow GitHub's instructions.\n1. If possible, include screenshots of visual changes. A preview build is triggered after your changes are pushed to GitHub.\n\n## Translation\n\nIf you are interested in translating `react.dev`, please see the current translation efforts [here](https:\u002F\u002Fgithub.com\u002Freactjs\u002Freact.dev\u002Fissues\u002F4135).\n\n## License\nContent submitted to [react.dev](https:\u002F\u002Freact.dev\u002F) is CC-BY-4.0 licensed, as found in the [LICENSE-DOCS.md](https:\u002F\u002Fgithub.com\u002Freactjs\u002Freact.dev\u002Fblob\u002Fmain\u002FLICENSE-DOCS.md) file.\n","react.dev 是 React 官方文档网站的源代码和文档存储库。该项目使用 JavaScript 编写，并基于 Next.js 构建，支持热重载功能以提高开发效率。其核心功能包括提供详尽的 React 框架学习资源、API 文档及最佳实践指南等。适合于任何希望深入了解或使用 React 进行前端开发的开发者查阅。此外，项目还鼓励社区贡献，通过明确的贡献指南简化了参与流程。无论是初学者还是有经验的开发者都能从中受益。",2,"2026-06-11 03:33:03","high_star"]