Skip to content
pubscout

over_react

5.8.0, released 8 weeks ago by workiva.com

A library for building statically-typed React UI components using Dart.

$ flutter pub add over_react
Source repository

What it does

OverReact is a library built atop the Dart react package that helps developers create statically-typed React UI components and applications using Dart. It provides core abstractions like UiFactory, UiProps, UiState, and UiComponent2 to mirror the React JS component model.

AI-written summary of version 5.8.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building web applications in Dart that interop with React JS.
  • You prefer writing React UI components with static typing and builder patterns in Dart.

Skip it when

  • You are building native Flutter mobile or desktop applications.
  • You do not want to use code generation and build_runner for your web components.

Strengths

  • Statically-typed props and state maps for React components in Dart.
  • Provides migration paths from older boilerplate and component architectures.
  • Includes support for Redux integration and an analyzer plugin for lints.

Weaknesses

  • Requires build_runner and code generation setup.
  • Tied to the React ecosystem and web targets rather than native Flutter widgets.

Setup

Kind
Pure Dart
Effort
High
Code generation
Yes (build_runner)
Direct dependencies
16

Add over_react as a dependency, enable the analyzer plugin, include native JavaScript react and react_dom libraries in your index.html, run tests and code generation using build_runner.

import 'dart:html';
import 'package:over_react/react_dom.dart' as react_dom;
import 'package:over_react/over_react.dart';

main() {
  react_dom.render(
    Foo()(),
    querySelector('#react_mount_point'),
  );
}

Alternatives

Packages that do the same job and could replace over_react.

  • nocterm

    Framework for building terminal user interfaces with Flutter‑like components and hot reload.

  • diagram_editor

    Flutter library for building interactive diagram editors with pan, zoom, and link support

  • tap_builder

    A simple widget for building interactive areas with customizable visual effects.

Works with

Packages commonly used together with over_react: ones it builds on, ones built on it, and its own family.