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.
- Install unpacked browser extension as usual (from releases)
- 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
Development:
npm run watch
Build new release:
- Update version in manifest.json
- If new core extension files were added - update extension-files.txt
- Build new package:
npm run package