パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.7.0

redux_dev_tools

Dart Redux のためのタイムトラベル開発ツール

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
2.6万
いいね数
9
Pub ポイント
125

パッケージをインストール

flutter pub add redux_dev_tools

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Redux DevTools は、Dart Redux 向けのデバッグ拡張機能であり、タイムトラベルデバッグを可能にし、開発者がアプリセッション間で状態変更を確認および再実行できるようにします。複数のプラットフォーム上の Redux ベースアプリケーションとシームレスに統合され、アクション、状態遷移、パフォーマンスメトリクスを追跡するための視覚的インターフェースを提供します。ホットリロードとリアルタイムでの状態表示をサポートしており、バグの特定や状態管理ワークフローの最適化が容易になります。複雑なアプリにおける堅牢な状態処理に注力する開発者向けに作られています。

用途

  • Redux アプリケーションでの状態変更のデバッグ
  • バグの再現のためにアプリの状態を再生する
  • モニタリングアクションのディスパッチとステートの更新
  • 状態遷移のパフォーマンス最適化
  • タイムトラベルを使用した複雑な状態ロジックのテスト

主な機能

  • タイムトラベルデバッグ
  • リアルタイム状態の可視化
  • アクションのリプレイ機能
  • クロスプラットフォーム対応(Android、iOS、Web、macOS、Windows、Linux)
  • Dart Redux との統合

適している対象

  • 状態管理にReduxを使用するDart開発者
  • 複雑な状態駆動型アプリを構築するチーム
  • 高度なデバッグツールを必要とする開発者
  • マルチプラットフォームアプリ開発中のフロントエンドエンジニア
  • 国家の進化について詳細な洞察を求めている誰も

注意事項

  • Reduxフレームワークとの統合が必要です
  • アプリのバンドルサイズをわずかに増加させる可能性があります
  • 無効化せずにプロダクション環境には適していません
  • Dart Redux 実装に限定
  • 完全な機能を実現するには適切な設定が必要です

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト