# facebook/react-native SLOC report

> As of 2026-08-31 (commit bea8d9efc15e), facebook/react-native contains 796,436 total lines: 582,904 code, 126,178 comments, 87,354 blank, across 5,401 files in 29 languages (top: JavaScript 43.1%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving facebook/react-native to commit bea8d9efc15e, 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 73.2% of all lines, comments represent 15.8%, and the repository averages 108 code lines per file. JavaScript accounts for 43.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 1,599 | 318,617 | 251,341 | 44,469 | 22,807 |
| Kotlin | 809 | 99,445 | 69,385 | 17,387 | 12,673 |
| C++ | 510 | 86,589 | 66,153 | 8,180 | 12,256 |
| C Header | 1,258 | 95,946 | 54,666 | 23,746 | 17,534 |
| JSON | 74 | 48,699 | 48,699 | 0 | 0 |
| Objective-C++ | 255 | 56,284 | 43,439 | 4,273 | 8,572 |
| TypeScript | 120 | 19,565 | 11,885 | 6,106 | 1,574 |
| Objective-C | 101 | 14,333 | 10,685 | 1,325 | 2,323 |
| Java | 14 | 8,836 | 6,375 | 1,396 | 1,065 |
| Python | 43 | 5,457 | 4,131 | 468 | 858 |
| CMake | 145 | 5,014 | 3,412 | 766 | 836 |
| Ruby | 21 | 4,728 | 3,227 | 829 | 672 |

Top language (JavaScript 43.1%). Generated at 2026-08-31T09:52:38.730291244+00:00. Canonical report: https://octocounts.com/github/facebook/react-native

## Report FAQ

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

facebook/react-native has 796,436 total lines, including 582,904 code lines, 126,178 comment lines, and 87,354 blank lines.

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

OctoCounts resolved the public GitHub repository to commit bea8d9efc15e, 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-native?

This OctoCounts report was generated from main at commit bea8d9efc15e on 2026-08-31T09:52:38.730291244+00:00.

## Similar repository reports

- [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
- [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
- [chaitanyagiri/munder-difflin](https://octocounts.com/github/chaitanyagiri/munder-difflin) — JavaScript, 370,772 code lines
- [facebook/react](https://octocounts.com/github/facebook/react) — JavaScript, 363,800 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)
