Add further sanitizer examples and clarification #770
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For several months now, the development team on Chef Automate had been unable to use the Redux Dev Tools that had served us so well in the past. I had previously attempted to look into the matter but did not find a resolution at that time. With a bit of spare time this past week I redoubled my efforts, determined to get to the bottom of this.
The issue for us was that Redux Dev Tools almost immediately crashed, due to consuming excessive amounts of memory.
While the troubleshooting doc here gave me some hints it was, alas, not very clear (to me) about
(a) what the sanitizers should be doing, and
(b) how to wire them up in an application that did not use
createStore
.It took me quite some effort to figure out how I needed to work with sanitizers and more particularly, how to wire them up in my environment. This PR adds to the troubleshooting documentation with the hope of aiding others in the community that may face the same challenges. I have included in there a link to my extensively documented PR for Chef Automate, that shows a real-world example of hooking it all up.