react-context-devtool icon indicating copy to clipboard operation
react-context-devtool copied to clipboard

Way to Clear cached contexts and reducers

Open paperschool opened this issue 4 years ago • 2 comments

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

paperschool avatar Jul 17 '20 14:07 paperschool

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.

deeppatel234 avatar Jul 18 '20 05:07 deeppatel234

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

paperschool avatar Jul 18 '20 11:07 paperschool