This page compares the source lines of code (SLOC) of solidjs/solid and facebook/react using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.
As of 2026-08-26, solidjs/solid contains 25,533 total lines (17,290 code) across 133 files, while facebook/react contains 459,929 total lines (364,294 code) across 2,133 files as of 2026-09-11. facebook/react is about 21x the size of solidjs/solid by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | solidjs/solid | facebook/react |
|---|---|---|
| Files | 133 | 2,133 |
| Total lines | 25,533 | 459,929 |
| Code lines | 17,290 | 364,294 |
| Comment lines | 4,453 | 59,276 |
| Blank lines | 3,790 | 36,359 |
| Languages counted | 7 | 11 |
Top languages in solidjs/solid: JavaScript (33.6% of code), YAML (31.6% of code), TypeScript (29.6% of code). Top languages in facebook/react: JavaScript (63.5% of code), Rust (17.5% of code), TypeScript (16.4% of code). JavaScript, TypeScript, JSON, CSS appear in both top language lists; YAML appears only in solidjs/solid's top languages; Rust appears only in facebook/react's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. solidjs/solid was counted at ref main (commit f47845f9cc16) on 2026-08-26; facebook/react was counted at ref main (commit 00f48cecfc34) on 2026-09-11. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
facebook/react has more code: 364,294 code lines versus 17,290 for solidjs/solid, about 21x as much, based on cached OctoCounts reports as of 2026-09-11.
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for solidjs/solid, facebook/react, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. solidjs/solid was counted at ref main (commit f47845f9cc16) on 2026-08-26; facebook/react was counted at ref main (commit 00f48cecfc34) on 2026-09-11. See the counting methodology for ignored directories and analysis options.
Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.