As of 2026-09-08 (commit 9b7a0d4029ee), facebook/react contains 913,098 total lines: 696,459 code, 125,642 comments, 90,997 blank, across 6,919 files in 14 languages (top: JavaScript 77.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving facebook/react to commit 9b7a0d4029ee, 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.
This is a large codebase by counted code lines. Code represents 76.3% of all lines, comments represent 13.8%, and the repository averages 101 code lines per file. JavaScript accounts for 77.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JavaScript | 3887 | 660209 | 537325 | 60795 | 62089 |
| TypeScript | 419 | 81509 | 65433 | 11098 | 4978 |
| Rust | 120 | 73913 | 65122 | 3782 | 5009 |
| JSON | 145 | 17480 | 17471 | 0 | 9 |
| CSS | 108 | 5280 | 4519 | 77 | 684 |
| TSX | 122 | 4484 | 3420 | 638 | 426 |
| HTML | 79 | 2414 | 2048 | 220 | 146 |
| CoffeeScript | 1 | 574 | 476 | 7 | 91 |
| Shell | 19 | 531 | 316 | 118 | 97 |
| TOML | 14 | 247 | 223 | 4 | 20 |
| JSX | 9 | 145 | 94 | 37 | 14 |
| SVG | 9 | 12 | 12 | 0 | 0 |
Top language (JavaScript 77.2%). Generated at 2026-09-08T09:32:09.721601926+00:00.
facebook/react has 913,098 total lines, including 696,459 code lines, 125,642 comment lines, and 90,997 blank lines.
OctoCounts resolved the public GitHub repository to commit 9b7a0d4029ee, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from 9b7a0d4029ee31f84446383b6530075f423e9904 at commit 9b7a0d4029ee on 2026-09-08T09:32:09.721601926+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: