steelsojka / aurelia-redux-plugin

A Redux plugin for the Aurelia framework
MIT License
17 stars 4 forks source link

Skip change detection if Redux DevTools are connected #14

Open jmezach opened 6 years ago

jmezach commented 6 years ago

As described in #11 the change detection mechanism that's currently in place causes the view not to update when the DevTools are being used. This PR suppresses the change detection mechanism when the devTools connect, and restores it when the devTools disconnect again. A similar mechanism exists in ng2-redux as can be seen here