Skip to content

Way to Clear cached contexts and reducers #10

@paperschool

Description

@paperschool

Is your feature request related to a problem? Please describe.
When ever I modify my app in such a way that a context name or reducer name changes, the newly found context or reducer is appended in the sidebar but all old contexts and reducers remain making it very confusing as to what is live and what isnt.

Describe the solution you'd like
Having the ability to delete all cache or prune existing contexts and reducers might make this better!

Mock Up Screenshot
Shown below is a simplistic idea on how this would look. Happy to discuss 😄

image

Activity

deeppatel234

deeppatel234 commented on Jul 18, 2020

@deeppatel234
Owner

Hello @paperschool

Thank you for using react-context-devtool. and give your feedback.
I will add to archive or rename the debug display names in next release. this feature was already in my roadmap. will update here when released.

Please share and start the project if you like it.

self-assigned this
on Jul 18, 2020
paperschool

paperschool commented on Jul 18, 2020

@paperschool
Author

Cool sounds good! Id be happy to help PR this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @paperschool@deeppatel234

      Issue actions

        Way to Clear cached contexts and reducers · Issue #10 · deeppatel234/react-context-devtool