-
Notifications
You must be signed in to change notification settings - Fork 40
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
Error: toISOString is not a function #20
Comments
That's not something introduced in the latest version of the extension. See for example zalmoxisus/redux-devtools-extension#315, which was happening in 2.14.0 as well. This is happening because you're passing a React synthetic event directly to the action or a React component (which includes a synthetic event). A synthetic event is flushing the data (unless The above exception happens because Here are some solutions you can use. However, if you could share a repo to reproduce the issue, I'd try to find a way to overpass this exception from inside |
You can try to install |
I'm using the function this way too, is there a problem with this? |
It's not about the |
@zalmoxisus with the decorator is failing, but the function on the constructor was working before |
The decorator is ok, but that previous approach is not something we'd support. You should pass the class (to be extended) not the instance to So, instead of the decorator it would be: class Store {
//...
}
export default remotedev(Store) Could you please provide steps to reproduce the issue with that repo? I see you're not using React, so my assumption about Synthetic events is wrong. |
angular/angular-cli#4994 (comment) Can we do something about it? |
Unfortunately, I don't know much about Angular and about how the providers and injections should work. I cloned the repo, ran In order to interact with the app (to change the data from the monitor side), we're extending the class here. This is the only thing that can interfere with that second decorator. We are assuring not to do any operations when the extension is not enabled, so the class is not extended in that case. |
@zalmoxisus |
This is happening with the latest extensions of chrome 2.14.2
But this was working very good before two versions ago, How can I downgrade to other versions to see which one was working good?
The text was updated successfully, but these errors were encountered: