Search packages, repositories and app categories

Package detailsv0.7.0

redux_dev_tools

Time Travel Dev Tools for Dart Redux

AndroidiOSWebmacOSWindowsLinux
30-day downloads
25.9K
Likes
9
Pub points
125

Install package

flutter pub add redux_dev_tools

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Redux DevTools is a debugging extension for Dart Redux that enables time-travel debugging, allowing developers to inspect and replay state changes across app sessions. It integrates seamlessly with Redux-based applications on multiple platforms, providing a visual interface to track actions, state transitions, and performance metrics. The tool supports hot reloading and real-time state visualization, making it easier to identify bugs and optimize state management workflows. Built for developers focused on robust state handling in complex apps.

Use cases

  • Debugging state changes in Redux applications
  • Replaying app state for bug reproduction
  • Monitoring action dispatches and state updates
  • Optimizing performance of state transitions
  • Testing complex state logic with time travel

Key features

  • Time-travel debugging
  • Real-time state visualization
  • Action replay capability
  • Cross-platform support (Android, iOS, Web, macOS, Windows, Linux)
  • Integration with Dart Redux

Suitable for

  • Dart developers using Redux for state management
  • Teams building complex state-driven apps
  • Developers needing advanced debugging tools
  • Frontend engineers working on multi-platform apps
  • Anyone seeking detailed insight into state evolution

Considerations

  • Requires integration with Redux framework
  • May increase app bundle size slightly
  • Not suitable for production environments without disabling
  • Limited to Dart Redux implementations
  • Needs proper setup for full functionality

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

redux_dev_tools

Build Status codecov

A Redux Store with a Delorean.

This library allows you to create a DevToolsStore during dev mode in place of a normal Redux Store. This DevToolsStore will act exactly like a normal Store at first, with one catch: It will allow you to travel back and forth throughout the State of your application!

You can write your own UI to travel in time, or use one of the existing options for the platform you're working with:

Demo

Flutter

A simple Flutter app that allows you to Increment and Decrement a counter.

A screenshot of the Dev Tools in Action

Usage

// Start by creating a simple Reducer, or a complex one. Dealer's choice. :)
int addOneReducer(int state, action) => state + 1;

// For production mode, this is how you should create your Store.
final store = Store(addReducer, initialState: 0);

// In Dev Mode, however, if you want to hook up to Time-Traveling 
// Dev Tools, create a `DevToolsStore` instead!
//
// It will act exactly like your normal Store, but give you super powers
// to travel back and forth in time throughout your app States!
// 
// Remember: By itself this will beef up your Store, but will not provide
// a UI to Time Travel. See the libraries listed above to learn how to
// connect your Redux store to a UI! 
final store = DevToolsStore(addReducer, initialState: 0);

Credits

All of this code was directly inspired by the original Redux Devtools.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package