Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure chart to not show certain branches or show them only in collapsed mode by default #762

Open
mperdikeas opened this issue Sep 24, 2020 · 0 comments

Comments

@mperdikeas
Copy link

mperdikeas commented Sep 24, 2020

I looked at the documentation and couldn't discover how to configure this. I've also asked on Stackoverflow about this (https://stackoverflow.com/q/64034218/274677) but no answer was forthcoming.

Is it possible to not display a certain branch of the Redux store in the chart component of the redux-devtools-extension? Or alternatively, to always display it in collapsed mode?

My use case is that I load approximately 10,000 nodes under a certain branch of the Redux store tree and the chart component becomes cluttered and unwieldy. Even though I can manually collapse the parent node, upon the next update of the Redux store tree, when the chart gets redrawn, the branch is drawn again in its fully expanded form.

This is the relevant code I have in my application where I set up the Redux store:

import { createStore, applyMiddleware } from 'redux';
import { composeWithDevTools } from 'redux-devtools-extension';

import thunk from 'redux-thunk';
import rootReducer from '../reducers/index.ts';

const store = createStore(rootReducer, /* preloadedState, */      composeWithDevTools(
applyMiddleware(thunk)));

export default store;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant