패키지, 저장소 및 앱 카테고리 검색

패키지 상세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 구현에 국한됨
  • 완전한 기능을 위해 적절한 설정이 필요합니다

원본 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 개

소스 저장소

이 패키지를 사용하는 프로젝트