News for hackers. Stuff that matters.
Re:Two Weird Tricks with Redux by jlongster on Wednesday April 13, 2016 @01:22PM (#11490194)
If you are waiting for a "done" async action (which is usually the case if using this), you might want the action to inspect the value that it was resolved with. We use this in tests: https://github.com/mozilla/gecko-dev/blob/master/devtools/cl...

Tests can wait for an action to be dispatched and the promise is resolved with that action, and tests can inspect it.

There are no comments on this comment yet.