redux-saga-devtools

Saga monitor and UI devtool for redux-saga

  • Owner: redux-saga/redux-saga-devtools
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

A Visual redux-saga monitor

this is still a WIP

How does it relate to other Redux devtools?

This would of course endup as a browser extension (chrome, firefox). But also intended to release as a themable React Component
(or many React Components, one per view) so it can be embedded in other Redux devtools (redux-devtools-extension, reactotron or directly inside a React application)

Usage

  • npm i --save-dev redux-saga-devtools

You can see how it's used by consulting the examples. To play with you can start the
2 included demos. The F9 key toggles the dock open and closed.

  • npm run counter : cancellable counter counter example
  • npm run shopping-cart : Shopping cart example.

Note that the monitor uses the v0.13.0 of redux-saga which includes an improved
monitor api
.

Done so far

  • Structured Effect view
  • Actions/Reactions view (should redirect to Effect view instead (?))
  • JS object inspector
  • Highlight shared refs in the effect view (right now: Channels)
  • Selection management/keyboard navigation
  • Pin/Unpin Effect
  • Dockable view with resize/toggle visibility

Todos

Following Todos that I can think of. Ordering doesn't reflect priority.

  • Hide irrelevant path in the Reactions view
  • Search/filter command
  • Clear effect log (removes all previous Effects)
  • Auto folding/Framing for long running Sagas (with a long effect list)
  • Highlight shared refs for other objects (Tasks, Actions)
  • top/bottom/left/right docking to the Dock view
  • Add raw Effect view
  • Add 'time-lined' Effect view (effects on Row, Sagas on columns, useful to debug race conditions)
  • Show origin of dispatched Actions in the Reactions view (Saga, UI Component (possible?))

Main metrics

Overview
Name With Ownerredux-saga/redux-saga-devtools
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2016-11-15 10:55:12
Pushed At2024-03-27 21:21:39
Last Commit At2020-01-20 12:42:02
Release Count4
Last Release Namev0.3.0 (Posted on 2018-07-03 13:50:07)
First Release Namev0.1.1 (Posted on 2017-06-29 10:28:18)
用户参与
Stargazers Count268
Watchers Count17
Fork Count38
Commits Count81
Has Issues Enabled
Issues Count17
Issue Open Count11
Pull Requests Count16
Pull Requests Open Count6
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private