Time Travel Debugger for React useReducer
Designed to help engineers fix bugs faster by recording and replaying through different states of their applications. Debug your app more easily by “rewinding” your session instead of having to wait to reproduce the issue once you find the problem.
React Rewind is in active development. Follow this repo for contribution guidelines.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You must use an unminified version of React. Also, your application must be using the hook useReducer
for actions to be recorded.
You can install it from the Chrome Web Store.
To install locally, setup instructions are as follows:
git clone --single-branch --branch beta-release https://github.com/reactrewind/react-rewind.git
chrome://extensions/
react-rewind/chrome
React Rewind
from the tool barAs you interact with your application, actions will populate the events panel. Click on these actions to view more details about them, such as the action object that was dispatched, the effects or state difference, and the whole state of the application after the dispatch. The time slider panel allows you to rewind, fast forward, and play through all recorded actions.
Field | Description |
---|---|
events | action types and time since last dispatch |
actions | the action object that was dispatched |
effects | difference between the states before and after the action was dispatched |
state | the state object after the action was dispatched |
Please fork this repo. We welcome pull requests. For suggestions or to report bugs please log an issue.
We use SemVer for versioning. For the versions available, see the tags on this repository.
Brandon Murphy | Victor Varaschin | Kia Colbert | Gaber Mowiena
This project is licensed under the MIT License - see the LICENCE.md file for details