David Khourshid
David Khourshid
- Added `forEach()` action creator and enabled relevant tests
Ye, those could be perhaps handled like this - but the described problem here wouldn't totally go away with such an approach. Here, we are also handling some other, "internal",...
> Logging is great! I'm just thinking that in any real production application (mobile, web) uncaught errors are usually funneled to some logging platform such as BugSnag etc. If error...
This PR adds the `.onError(...)` handler to services: ```js const service = interpret(machine) .onError(err => { // err is instanceof Error console.error(err.message); }) .start(); ``` This was necessary to test...
This PR adds `TExtra`, first introduced in #2779. Separating this out so that we can implement `model.withActions()` and `model.withGuards()`, as well as future ideas for making machine implementations more type-safe....
This PR adds support for handling communication errors when the targets of events sent between actors does not exist: ```js // ... entry: sendParent('SOME_EVENT'), // pretend the parent does not...