Ross ROSS = Recommend OSS · open-source software intelligence for agents

mridgway/hoist-non-react-statics

Copies non-react specific statics from a child component to a parent component observed · 2026-08-28

github.com/mridgway/hoist-non-react-statics · JavaScript · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4116
  • days_rel: n/a
  • days_push: 1195
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1800 stars · 95 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A small JavaScript utility that copies non-React-specific static properties from a child component to a parent (wrapper) component, while preventing React's own static keywords from being overridden. It is commonly used when building higher-order components in React.

Use cases

  • copy static methods from a wrapped component to an HOC in React
  • preserve component statics when wrapping components with higher-order components
  • avoid overriding React static keywords like propTypes or contextTypes when hoisting
  • exclude specific statics from being copied between components
  • support ForwardRef-compatible static hoisting in React 16+

When to choose

  • you are writing React higher-order components and need to forward statics
  • you want a battle-tested, tiny utility with broad React version compatibility

When to avoid

  • you are not working with React or component wrappers
  • you use function components exclusively with no statics to hoist
  • you need IE8 support without an Object.defineProperty polyfill

Facets

library · maturity maintenance

developer-tools frontend web-development developer-tools browser cross-platform react higher-order-components statics utility nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
mridgway/hoist-non-react-staticsmain23

For agents

markdown · JSON · MCP: product_card(name="mridgway/hoist-non-react-statics")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem