Skip to content
pubscout

redux_remote_devtools

3.0.0, released 6 years ago by an unverified publisher

Remote DevTools for Redux.dart to inspect state changes during runtime.

WASM-ready
$ flutter pub add redux_remote_devtools
Source repository

What it does

Connects a Dart Redux store to a Remote Devtools Server, enabling developers to inspect state changes and time-travel during runtime. It translates actions and states into JSON formats to communicate with the JavaScript Remote Devtools server.

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

Use it when

  • You are using Redux for state management in Dart or Flutter and want to inspect state changes remotely.
  • You want to use time-travel debugging with Redux DevTools.

Skip it when

  • You are not using Redux as your state management solution.
  • Your actions and state are extremely difficult to serialize to JSON.

Strengths

  • Enables powerful time-travel debugging for Redux.dart applications.
  • Supports custom action/state encoders and decoders.

Weaknesses

  • Requires a running Node.js Remote Devtools server instance.
  • Actions and state must be JSON encodable for full functionality.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
3

Requires running the remotedev-server via npm and configuring RemoteDevToolsMiddleware as the last middleware in your store.

var remoteDevtools = RemoteDevToolsMiddleware('192.168.1.52:8000');
final store = DevToolsStore<AppState>(searchReducer, middleware: [remoteDevtools]);
remoteDevtools.store = store;
await remoteDevtools.connect();

Alternatives

Packages that do the same job and could replace redux_remote_devtools.

  • lsp_server

    Dart implementation of the Language Server Protocol for building LSP servers.

  • flutter_blackbox

    All-in-one Flutter debug overlay and live remote web dashboard for network, logs, and crashes.

Works with

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