# facebook/react SLOC report

> As of 2026-09-01 (commit 065bc84eb509), facebook/react contains 459,031 total lines: 363,800 code, 58,964 comments, 36,267 blank, across 2,128 files in 11 languages (top: JavaScript 63.6%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving facebook/react to commit 065bc84eb509, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 79.3% of all lines, comments represent 12.8%, and the repository averages 171 code lines per file. JavaScript accounts for 63.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 1,475 | 293,403 | 231,212 | 38,391 | 23,800 |
| Rust | 116 | 72,428 | 63,753 | 3,772 | 4,903 |
| TypeScript | 219 | 74,391 | 59,896 | 10,169 | 4,326 |
| JSON | 86 | 3,535 | 3,527 | 0 | 8 |
| CSS | 88 | 3,828 | 3,283 | 61 | 484 |
| TSX | 15 | 1,591 | 1,333 | 153 | 105 |
| HTML | 23 | 438 | 416 | 9 | 13 |
| Shell | 17 | 408 | 214 | 116 | 78 |
| TOML | 14 | 178 | 156 | 4 | 18 |
| SVG | 7 | 10 | 10 | 0 | 0 |
| Markdown | 68 | 8,821 | 0 | 6,289 | 2,532 |

Top language (JavaScript 63.6%). Generated at 2026-09-01T07:47:45.780563135+00:00. Canonical report: https://octocounts.com/github/facebook/react

## Report FAQ

### How many lines of code does facebook/react have?

facebook/react has 459,031 total lines, including 363,800 code lines, 58,964 comment lines, and 36,267 blank lines.

### How was the facebook/react line count measured?

OctoCounts resolved the public GitHub repository to commit 065bc84eb509, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for facebook/react?

This OctoCounts report was generated from main at commit 065bc84eb509 on 2026-09-01T07:47:45.780563135+00:00.

## Similar repository reports

- [lili-luo/aicoding-cookbook](https://octocounts.com/github/lili-luo/aicoding-cookbook) — JavaScript, 359,436 code lines
- [chaitanyagiri/munder-difflin](https://octocounts.com/github/chaitanyagiri/munder-difflin) — JavaScript, 370,772 code lines
- [jackwener/opencli](https://octocounts.com/github/jackwener/opencli) — JavaScript, 345,377 code lines
- [tastejs/todomvc](https://octocounts.com/github/tastejs/todomvc) — JavaScript, 335,905 code lines
- [mrdoob/three.js](https://octocounts.com/github/mrdoob/three.js) — JavaScript, 307,445 code lines
- [antfu/talks](https://octocounts.com/github/antfu/talks) — JavaScript, 464,561 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
