-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Using store-devtools in "logOnly" mode in production #643
Comments
Thanks a lot! As a follow-up to this: Is it possible to access the |
@akrueger you can inject the |
@brandonroberts Thanks, worked perfectly! |
I'm having some trouble figuring out the exact effects of including
Below are my results of the Redux DevTools extension in development environment, production environment with logOnly, and production with logOnly and all features set to false: Development environment: Production with logOnly: Production with logOnly and all features set to false: Thanks! |
The |
Got it. Thanks! Is it fair to assume this statement is also true about ngRx's
https://medium.com/@zalmoxis/using-redux-devtools-in-production-4c5b56c5600f Just making sure I would want to include When I pull down the example app and include the following config:
|
I use this:
Supposedly, if the But in my experiments, I still see the state data in the ngrx DevTools panel, so what're the benefits of using |
Agreed this doesn't appear to be working properly, I can still execute all other actions atm |
I'm submitting a...
My goal is to send error reports with a redux state history to my server as part of our logging service in production. I have no problem sending the current state at the time of the error, but what I'd really like is something that looks like the
state.json
object that theredux-devtools-extension
allows you to download. With an object like that with a max age (say 5 to keep performance in a good spot), I could take the data from my server log and upload the state into theredux-devtools-extension
; then replay the state back to see how users have managed to get into their error state.I don't need to use any of the features that can manipulate the state--JUMP, SKIP, PAUSE, COMMIT, etc--I'd want to avoid that completely in production. I have read about the extension's production modes that have
logOnly
as well as this article.I am not sure how this is best achieved in my Angular ngRx app. Is there a way for me to achieve this using
store-devtools
. Should I be using some other type of meta-reducer similar to theenhancer
?I saw the options for sanitizing actions and serializing state, but I'm more interested in a setting for
logOnly
and accessing the data in my error handling that could be read back intoredux-devtools-extension
for error analysis from our logs.ngrx/store-devtools#53 (comment) addresses use in production and seems to indicate that there is no
logOnly
option, but I didn't want to give up just on that assumption:Thanks!
The text was updated successfully, but these errors were encountered: