Skip to content

Chrome extension for logging source files that use data from redux store

Notifications You must be signed in to change notification settings

krustnic/ReFactor

Repository files navigation

ReFactor!

Chrome extension that allows to track which source files are using specific redux store item. It is useful in large code base to determine values that actually used in project.

TodoMVC demo

TodoMVC demo

Installation

  1. Install unpacked browser extension as usual (from releases)
  2. Wrap rootReducer with function provided by extension:
const store = createStore(window.__REFACTOR_WRAP_REDUCER__ ?
    window.__REFACTOR_WRAP_REDUCER__(rootReducer) :
    rootReducer
);

Note: you should have sourcemap files with name: <bundle_name>.js.map

Contribution

Development:

npm run watch

Build new release:

  1. Update version in manifest.json
  2. If new core extension files were added - update extension-files.txt
  3. Build new package:
npm run package

About

Chrome extension for logging source files that use data from redux store

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published