RE

React Reconciler

react-reconciler

React package for creating custom renderers.

Utilities
react
react-reconciler
Utilities
javascript
npm
frontend
open source
ui
library
web
Stars
931
Weekly
12M
Open issues
12
Bundle
~15 kB

Installation

npm install react-reconciler

Code example

import { useReconciler } from "react-reconciler";

export function Example() {
  const value = useReconciler();
  return <p>{String(value)}</p>;
}

Pros & cons

Pros

  • Actively maintained by fb
  • 12M weekly downloads. Battle tested
  • MIT licensed

Considerations

  • Adds roughly ~15 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 12 open issues on GitHub

FAQs

Alternatives & similar libraries