React gewinnt 4 von 6 Kategorien, Angular 1, one unentschiedenGrenzfälle zählen mit, sobald du die Live-Tests unten ausführst. Sie werden in deinem Browser gemessen und nicht hier gespeichert.
Grenzfälle
Noch nicht ausgeführtVier alltägliche Situationen, die nebeneinander in deinem Browser laufen. Drücke bei einem Fall auf „Ausführen“ und lies, was passiert; nichts davon ist vorher aufgezeichnet.Veraltete Antwort überschreibt die frischeKlicke schneller durch eine Liste, als der Server antwortet.AusführenAngular○Noch nicht ausgeführtReact○Noch nicht ausgeführtThe effect calls setState with whatever the request returns, with no cancellation. Ignoring a response that is no longer current takes a cancel flag or an AbortController inside the effect.Code anzeigen10.000 Zeilen unterschiedlicher HöheScrolle eine lange Liste, in der jede Zeile eine andere Höhe hat.AusführenAngular○Noch nicht ausgeführtReact○Noch nicht ausgeführtEvery row is rendered by a plain .map() over the data. Rendering only the rows on screen takes a virtualization library and a way to measure each row, since the heights differ.Code anzeigenAbonnements nach 100 Mount-ZyklenHänge eine abonnierte Komponente hundertmal ein und wieder aus.AusführenAngular○Noch nicht ausgeführtReact○Noch nicht ausgeführtThe effect subscribes and returns nothing. Releasing the subscription takes a cleanup function returned from every effect that subscribes.Code anzeigenEin kaputtes Element reißt den Baum mitLege fehlerhafte Daten in eine von zwanzig Karten.AusführenAngular○Noch nicht ausgeführtReact○Noch nicht ausgeführtWith no ErrorBoundary above it, a throw during render takes the whole tree down. Keeping the rest of the list on screen takes an ErrorBoundary component around every part that may throw.Code anzeigen
Code
Angular 1 von 5, React 4 von 5 · React vornWie viel es zu lesen gibt und wie viel davon jemand anderem gehört.AngularReactLines of code (TodoMVC)307312Angular liegt 1.6% unter ReactFewer lines to read when someone else picks the project up. Counts the code you write and maintain yourself, not a stylesheet you installed from npm.Official TodoMVC implementation from github.com/tastejs/todomvc, plus the $mol one from the todomvc-compare repository. Every line of every source file under `src/`, tests, build config and the HTML shell excluded. Styles are excluded for every framework, because TodoMVC renders one fixed layout and its CSS is the same work regardless of framework: the tastejs examples install that stylesheet as the `todomvc-app-css` package and keep a small override sheet, while the $mol implementation writes its own. Counting styles would compare that packaging choice rather than the frameworks. The counting rule is the one published in todomvc-compare and reproduces its $mol figure to the line.Angulargithub.com/…/angular2026-08-13Reactgithub.com/…/react2026-08-13npm packages shipped63React liegt 50% unter AngularHow many npm packages end up inside the bundle the browser downloads. This is code your users execute, not code your build machine reads.Distinct `node_modules/<package>` paths in the `sources` of the production build sourcemaps. Scaffolded on 2026-08-13 with each framework's own getting-started command: react `npm create vite@latest app -- --template react-ts`; vue `npm create vue@latest app -- --default`; svelte `npx sv create app --template minimal --types ts --no-add-ons --install npm`; solid `npm create solid@latest app -- --vanilla --ts --template basic`; angular `npx @angular/cli@21 new app --defaults --skip-git --package-manager=npm`; $mol `git clone --depth 1 https://github.com/hyoo-ru/mam.git app && npm install`. For $mol, the sourcemap of the deployed todomvc.hyoo.ru bundle.Angularangular.dev/installation2026-08-13Reactreact.dev/learn/build-a-react-app-from-scratch2026-08-13Dev dependencies declared159React liegt 40% unter AngularPackages the starter project names in its own package.json. Build-time tooling included: this is the list your development environment inherits, not what reaches the browser.Entries in `dependencies` plus `devDependencies` of a fresh starter project. Scaffolded on 2026-08-13 with each framework's own getting-started command: react `npm create vite@latest app -- --template react-ts`; vue `npm create vue@latest app -- --default`; svelte `npx sv create app --template minimal --types ts --no-add-ons --install npm`; solid `npm create solid@latest app -- --vanilla --ts --template basic`; angular `npx @angular/cli@21 new app --defaults --skip-git --package-manager=npm`; $mol `git clone --depth 1 https://github.com/hyoo-ru/mam.git app && npm install`.Angularangular.dev/installation2026-08-13Reactreact.dev/learn/build-a-react-app-from-scratch2026-08-13Dev packages installed42535React liegt 92% unter AngularHow many separate packages npm resolves into node_modules on a clean checkout. Each one is an author your build trusts, and every CI run downloads all of them.Distinct name+version pairs in `npm ls --all` after scaffolding and installing the starter project. Scaffolded on 2026-08-13 with each framework's own getting-started command: react `npm create vite@latest app -- --template react-ts`; vue `npm create vue@latest app -- --default`; svelte `npx sv create app --template minimal --types ts --no-add-ons --install npm`; solid `npm create solid@latest app -- --vanilla --ts --template basic`; angular `npx @angular/cli@21 new app --defaults --skip-git --package-manager=npm`; $mol `git clone --depth 1 https://github.com/hyoo-ru/mam.git app && npm install`.Angularangular.dev/installation2026-08-13Reactreact.dev/learn/build-a-react-app-from-scratch2026-08-13node_modules size281 MB80.9 MBReact liegt 71% unter AngularDisk footprint of a fresh checkout. None of it ships to the browser, but all of it is downloaded by every CI run and every new machine on the team.`du -sk node_modules` after scaffolding and installing the starter project. Scaffolded on 2026-08-13 with each framework's own getting-started command: react `npm create vite@latest app -- --template react-ts`; vue `npm create vue@latest app -- --default`; svelte `npx sv create app --template minimal --types ts --no-add-ons --install npm`; solid `npm create solid@latest app -- --vanilla --ts --template basic`; angular `npx @angular/cli@21 new app --defaults --skip-git --package-manager=npm`; $mol `git clone --depth 1 https://github.com/hyoo-ru/mam.git app && npm install`.Angularangular.dev/installation2026-08-13Reactreact.dev/learn/build-a-react-app-from-scratch2026-08-13
Gewicht und Laden
Angular 1 von 2, React 1 von 2 · gleichaufWas der Browser herunterlädt und wie lange er wartet, bis die Seite reagiert.AngularReactTodoMVC bundle, gzip87.7 KB75.7 KBReact liegt 14% unter AngularWhat the browser actually downloads for a small but complete application, compressed the way a server would send it.Every JavaScript and CSS asset referenced by the production `index.html`, gzipped at level 9 and summed. Unlike the line count, styling is included everywhere and is comparable: the shared `todomvc-app-css` is compiled into each tastejs example’s shipped CSS, and $mol compiles its styles into the JavaScript bundle, leaving its `web.css` a 38-byte comment. The `base.js` page furniture from `todomvc-common` is excluded everywhere, including its Angular equivalent. Built artifacts come from the tastejs repository; the $mol bundle from the deployed todomvc.hyoo.ru.Angulargithub.com/…/angular2026-08-13Reactgithub.com/…/react2026-08-13Startup transfer259 KB274 KBAngular liegt 5.6% unter ReactBytes pulled over the network before the benchmark application is usable. Same application in every column, so the difference is the framework.Lighthouse total byte weight for the js-framework-benchmark application, reported as benchmark 34_startup-totalbytes. Transfer size, not gzip specifically.Angularnin-jin.github.io/…/table.html2022-02-05Reactnin-jin.github.io/…/table.html2022-02-05
Geschwindigkeit
Angular 3 von 7, React 4 von 7 · React vornWie lange Änderungen bis zum Bildschirm brauchen und wie viel Speicher dabei gehalten wird.AngularReactCreate 1,000 rows209 ms224 msAngular liegt 6.6% unter ReactTime to put a thousand fresh rows on the screen. This is the wait after hitting a filter or opening a list.js-framework-benchmark 01_run1k, arithmetic mean of 10 runs.Angularnin-jin.github.io/…/table.html2022-02-05Reactnin-jin.github.io/…/table.html2022-02-05Partial update1,160 ms1,263 msAngular liegt 8.2% unter ReactTouching every tenth row of a thousand, sixteen times. This is where a framework either finds the changed rows or re-checks everything.js-framework-benchmark 03_update10th1k_x16, arithmetic mean of 10 runs.Angularnin-jin.github.io/…/table.html2022-02-05Reactnin-jin.github.io/…/table.html2022-02-05Swap two rows1,554 ms1,505 msReact liegt 3.1% unter AngularTwo rows trade places out of a thousand. The ideal answer is two DOM moves, and the gap here shows who gets close to it.js-framework-benchmark 05_swap1k, arithmetic mean of 10 runs.Angularnin-jin.github.io/…/table.html2022-02-05Reactnin-jin.github.io/…/table.html2022-02-05Remove one row55 ms37.2 msReact liegt 32% unter AngularDeleting a single row out of a thousand. The smallest possible change, so it measures the fixed cost of reacting at all.js-framework-benchmark 06_remove-one-1k, arithmetic mean of 10 runs.Angularnin-jin.github.io/…/table.html2022-02-05Reactnin-jin.github.io/…/table.html2022-02-05Memory after load1.59 MB1.44 MBReact liegt 9.4% unter AngularHeap the framework occupies with nothing on the page yet.js-framework-benchmark 21_ready-memory, single run.Angularnin-jin.github.io/…/table.html2022-02-05Reactnin-jin.github.io/…/table.html2022-02-05Memory with 1,000 rows3.03 MB4.24 MBAngular liegt 29% unter ReactHeap once a thousand rows are on screen. On a phone this is the difference between staying alive in the background and being killed.js-framework-benchmark 22_run-memory, single run.Angularnin-jin.github.io/…/table.html2022-02-05Reactnin-jin.github.io/…/table.html2022-02-05Startup blocking time149 ms102 msReact liegt 32% unter AngularHow long the main thread is busy during startup, so taps and scrolls do nothing.js-framework-benchmark 32_startup-bt (Lighthouse total blocking time), arithmetic mean of 4 runs.Angularnin-jin.github.io/…/table.html2022-02-05Reactnin-jin.github.io/…/table.html2022-02-05
Eingebaut
Angular 5 von 10, React 0 von 10 · Angular vornOb das Framework es mitbringt oder ob du zu einer Bibliothek greifst.AngularReactRouterJaNeinAngular ja, React neinWhether URLs and navigation come from the framework project itself, or you go pick a library and own that choice forever.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project publishes and documents a routing solution of its own. No when its own docs send you to a third-party project instead.Angularangular.dev/guide/routing2026-08-13Reactreact.dev/learn/creating-a-react-app2026-08-13LocalizationJaNeinAngular ja, React neinTranslating an application is rarely planned at the start and always arrives later.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project publishes and documents localization of its own. An official CLI add-on that wires up somebody else’s i18n library is a no, because the library is still somebody else’s.Angularangular.dev/guide/i18n2026-08-13Reactreact.dev/reference/react2026-08-14ThemingJaNeinAngular ja, React neinDark mode and brand colours without inventing your own CSS variable convention.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project publishes and documents a theming mechanism of its own. No when the word does not appear in its official API reference, which is the page linked, so the absence can be checked directly.Angularmaterial.angular.dev/guide/theming2026-08-13Reactreact.dev/reference/react2026-08-13List virtualizationJaNeinAngular ja, React neinLong lists stay smooth because off-screen rows are never rendered. Without it, someone eventually bolts a library onto a list that already shipped.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project publishes and documents lazy or virtual rendering of long lists. No when no such component appears in its API reference.Angularmaterial.angular.dev/…/overview2026-08-13Reactreact.dev/reference/react2026-08-14Offline supportJaNeinAngular ja, React neinA service worker set up by the framework rather than copied from a blog post.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project ships the service worker integration: a module it builds and registers for you. No when the docs only show where to drop your own sw.js and how to register it with the browser API, because that is the browser’s feature rather than the framework’s.Angularangular.dev/ecosystem/service-workers2026-08-13Reactreact.dev/reference/react2026-08-14Server renderingJaJabeide haben esRendering to HTML on the server, for search engines and for the first paint.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project publishes and documents a server rendering API of its own. No when its published module list contains no such module.Angularangular.dev/guide/ssr2026-08-13Reactreact.dev/…/server2026-08-13Tests without a DOMNeinNeinkeines von beiden hat esComponents testable as plain objects, with no browser and no jsdom to boot up first.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when a component can be instantiated and asserted on with no document in play — the test never reaches for one. No when a DOM has to exist before a component can render at all, which is what every official testing guide here prescribes when it tells you to install jsdom, happy-dom or a browser. The question is whether a DOM is required, not whether the runtime happens to have one available: a runtime that provides a document nobody asks for does not make the test a DOM test.Angularangular.dev/…/components-basics2026-08-14Reactreact.dev/warnings/react-test-renderer2026-08-13Dependency injectionJaJabeide haben esSwapping a real service for a fake one in a test without touching the component that uses it.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project documents a way to hand a component a value from outside it and replace that value later, in a test or in another host. Context APIs count: the bar is a documented mechanism, not a particular shape of container.Angularangular.dev/guide/di2026-08-13Reactreact.dev/learn/passing-data-deeply-with-context2026-08-14FormsJaJabeide haben esValidation, dirty state and submission handled by the framework instead of a fourth form library per team.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when that project documents a form API that goes past binding one input to one variable, covering at least submission handling or validation state. Two-way binding on its own is a no.Angularangular.dev/guide/forms2026-08-13Reactreact.dev/…/form2026-08-14Typed templatesJaJabeide haben esA typo in a template is caught by the compiler, not by a user.Built in means the framework project ships it itself: its own package, or one the same team maintains and publishes as official. A library from anyone else counts as no, however popular or de-facto standard it has become, which is why routing is a yes for Angular and a no for React. The same cut is applied to all six frameworks, and every value links to the official page it was read from. Yes when the framework’s official TypeScript documentation covers type checking of its template or view layer.Angularangular.dev/…/template-typecheck2026-08-13Reactreact.dev/learn/typescript2026-08-13
Ökosystem und Markt
Angular 0 von 4, React 3 von 4 · React vornWie leicht sich dafür jemand einstellen, danach suchen und ein fertiges Teil finden lässt.AngularReactGitHub stars100,990247,218React ist das 2.4× von AngularA popularity signal, and nothing more. It says how many people bookmarked the repository, not how many shipped with it.`stargazers_count` from the GitHub API for the repository that holds the framework's current source.Angulargithub.com/angular/angular2026-08-13Reactgithub.com/react/react2026-08-13npm downloads5,983,187 per week163,083,190 per weekReact ist das 27.3× von AngularThe closest thing to a usage count. Inflated by CI runs, but inflated the same way for everyone.npm registry downloads for the last full week, for the package you install to use the framework.Angularapi.npmjs.org/…/core2026-08-13Reactapi.npmjs.org/…/react2026-08-13Stack Overflow questions306,418473,925React liegt 55% über AngularHow likely it is that your problem was already asked and answered by someone else.Question count of the framework's Stack Overflow tag, via the Stack Exchange API.Angularstackoverflow.com/…/angular2026-08-13Reactstackoverflow.com/…/reactjs2026-08-13npm maintainers22beide melden denselben WertHow many people can publish a release. A low number is a bus factor.Length of the `maintainers` array in the npm registry metadata of the framework's primary package.Angularregistry.npmjs.org/@angular/core2026-08-13Reactregistry.npmjs.org/react2026-08-13
Betriebskosten
Angular 0 von 3, React 1 von 3 · React vornWas der Abhängigkeitsbaum und die Release-Historie über die Jahre verlangen.AngularReactAdvisories in shipped packages00beide melden denselben WertKnown vulnerabilities in the packages that reach the browser. These execute on your users’ machines, which makes them a different class of risk from anything in the build toolchain.Each shipped package, at its installed version, queried against the OSV database. Counts packages carrying at least one advisory.Angularangular.dev/installation2026-08-13Reactreact.dev/learn/build-a-react-app-from-scratch2026-08-13Advisories in the dev tree00beide melden denselben WertKnown vulnerabilities in the packages a fresh checkout installs. These run on developer and CI machines rather than in the browser, but somebody still has to triage every one.Total reported by `npm audit` on the starter project, straight after scaffolding it. Scaffolded on 2026-08-13 with each framework's own getting-started command: react `npm create vite@latest app -- --template react-ts`; vue `npm create vue@latest app -- --default`; svelte `npx sv create app --template minimal --types ts --no-add-ons --install npm`; solid `npm create solid@latest app -- --vanilla --ts --template basic`; angular `npx @angular/cli@21 new app --defaults --skip-git --package-manager=npm`; $mol `git clone --depth 1 https://github.com/hyoo-ru/mam.git app && npm install`.Angularangular.dev/installation2026-08-13Reactreact.dev/learn/build-a-react-app-from-scratch2026-08-13Breaking releases in 3 years61React liegt 83% unter AngularMajor versions shipped since 2023. Every one of them is a migration someone on the team pays for.Count of major semver versions of the framework's primary npm package first published in the last three years. Left blank for packages that do not use semver majors.Angularregistry.npmjs.org/@angular/core2026-08-13Reactregistry.npmjs.org/react2026-08-13
Wie hier gemessen wird
Jeder Wert hier stammt aus einer Messung oder aus einer externen Quelle und trägt den Link und das Datum seiner Erhebung mit sich. Eine Metrik zählt für eine Kategorie nur, wenn beide Frameworks sie veröffentlichen: sonst gewönne das mit der volleren Tabelle über die Vollständigkeit seiner Daten statt über das, was die Zahlen sagen. Wo noch niemand gemessen hat, sagt die Zeile das, statt zu raten.Methodik und Quellen auf GitHub
Ein Framework vorschlagen
Fehlt eines? Nenne es und eröffne ein Issue. Ein Framework hinzuzufügen heißt: eine Datendatei mit seinen Messungen und, für die Live-Tests, eine Runner-Seite — beide liegen im Repository neben denen, die schon da sind.Issue eröffnenType to search the documentation.