You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
I would like to sanitize my actions before reporting them to Reactotron. With a little inspiration from Redux DevTools Extension I've done this with following code:
where actionSanitizer strips out some private data, normalizes action type/name etc. and overall makes action more readable for developers. Obviously, sanitized action cannot be dispatched back to the app and I satisfied with this. Everything works like a charm, so I think it would be nice to make it possible directly by passing sanitizer in plugin config. What do you think?
I would like to sanitize my actions before reporting them to Reactotron. With a little inspiration from Redux DevTools Extension I've done this with following code:
where
actionSanitizerstrips out some private data, normalizes action type/name etc. and overall makes action more readable for developers. Obviously, sanitized action cannot be dispatched back to the app and I satisfied with this. Everything works like a charm, so I think it would be nice to make it possible directly by passing sanitizer in plugin config. What do you think?