# reactjs/react-tutorial

Code from the React tutorial.

Repository: https://github.com/reactjs/react-tutorial
Canonical: https://ross.abutalabs.com/products/react-tutorial
Homepage: http://facebook.github.io/react/docs/tutorial.html
Language: JavaScript
License: NOASSERTION
License Family: other
Archived: true
Last push: 2018-06-25T20:58:25+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4447, "days_push": 2991, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3275, forks 2060 (observed 2026-08-28T04:07:53.384823+00:00)

## What it is
The official React comment box example code from the React tutorial, demonstrating basic React usage with a simple comments API. It includes server implementations in Node, Python, Ruby, PHP, Go, and Perl that serve static files and handle comment fetch/add requests.

## Use cases
- learn React basics by following the official tutorial
- run a minimal React example locally
- see how a React frontend talks to a simple comments API
- compare simple server implementations across languages
- get a starting point for a first React app

## When to choose
- you are following the classic React tutorial and want the exact example code
- you want a tiny, dependency-light React demo to run locally

## When to avoid
- you need a modern React setup with hooks, JSX tooling, or a build system
- you want a maintained starter template or production boilerplate
- you need current React best practices - this code is from an older tutorial era

## Facets
- artifact type: learning-resource
- maturity: abandoned
- function: web-framework, http-server, developer-tools
- domain: web-development, frontend, tutorials, education
- platform: python, cross-platform
- tags: react, tutorial, example-code, comment-box, learning, nodejs

## Member repositories
- reactjs/react-tutorial (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:53.384823+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:43:23.332495+00:00, confidence not recorded.
  - readme: https://github.com/reactjs/react-tutorial (fetched 2026-08-28T04:07:53.384823+00:00, sha 44c0a16d456c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
