# facebook/react SLOC report

> 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.

## Repository size insights

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 | 3,887 | 660,209 | 537,325 | 60,795 | 62,089 |
| TypeScript | 419 | 81,509 | 65,433 | 11,098 | 4,978 |
| Rust | 120 | 73,913 | 65,122 | 3,782 | 5,009 |
| JSON | 145 | 17,480 | 17,471 | 0 | 9 |
| CSS | 108 | 5,280 | 4,519 | 77 | 684 |
| TSX | 122 | 4,484 | 3,420 | 638 | 426 |
| HTML | 79 | 2,414 | 2,048 | 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. Canonical report: https://octocounts.com/github/facebook/react

## Report FAQ

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

facebook/react has 913,098 total lines, including 696,459 code lines, 125,642 comment lines, and 90,997 blank lines.

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

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.

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

This OctoCounts report was generated from 9b7a0d4029ee31f84446383b6530075f423e9904 at commit 9b7a0d4029ee on 2026-09-08T09:32:09.721601926+00:00.

## Similar repository reports

- [react/react](https://octocounts.com/github/react/react) — JavaScript, 706,216 code lines
- [Gracker/SmartPerfetto](https://octocounts.com/github/Gracker/SmartPerfetto) — JavaScript, 750,897 code lines
- [facebook/react-native](https://octocounts.com/github/facebook/react-native) — JavaScript, 583,564 code lines
- [TryGhost/Ghost](https://octocounts.com/github/TryGhost/Ghost) — JavaScript, 576,612 code lines
- [antfu/talks](https://octocounts.com/github/antfu/talks) — JavaScript, 464,561 code lines
- [wlsdks/ontology-atlas](https://octocounts.com/github/wlsdks/ontology-atlas) — JavaScript, 460,756 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)
