# React Patterns

Patterns for React Developers

Repository: https://github.com/chantastic/reactpatterns
Canonical: https://ross.abutalabs.com/products/react-patterns
Homepage: http://reactpatterns.com
Language: HTML
License Family: other
Topics: patterns, javascript, react, react-native, component, frontend, react-patterns
Last push: 2022-01-15T01:23:45+00:00
Link (homepage): http://reactpatterns.com

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

## Adoption (not part of the score)
Stars 1727, forks 95 (observed 2026-08-28T04:05:28.287949+00:00)

## What it is
A free online reference cataloging common React component patterns such as stateless functions, render props, higher-order components, and state hoisting, with short code examples for each. It is a static documentation site (reactpatterns.com) rather than a library or tool.

## Use cases
- learn common react component patterns
- how to write a higher-order component in react
- examples of render props and function as children
- understand conditional rendering patterns in jsx
- reference for container vs layout components
- how to hoist state in react components

## When to choose
- you want a quick, example-driven reference to classic React component patterns
- you are learning React and want concise pattern explanations with code snippets
- you maintain or review legacy React codebases using HOCs and render props

## When to avoid
- you need up-to-date guidance for modern React (hooks-era patterns are largely absent and the site has not been updated since 2022)
- you want an installable library or tool rather than documentation
- you need officially maintained or community-current best practices

## Facets
- artifact type: learning-resource
- maturity: abandoned
- function: documentation, developer-tools
- domain: frontend, web-development, tutorials, developer-tools
- platform: cross-platform
- tags: react, react-patterns, react-native, component-design, jsx, best-practices, guide, web-server

## Member repositories
- chantastic/reactpatterns (main) score 32
- chantastic/react-patterns (mirror) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.287949+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-30T03:32:14.856210+00:00, confidence not recorded.
  - readme: https://github.com/chantastic/reactpatterns (fetched 2026-08-28T04:05:28.287949+00:00, sha 6ae55eb75357)
  - homepage: http://reactpatterns.com (fetched 2026-08-29T11:09:14.880704+00:00, sha d1d64589e3eb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
