These are chat archives for jdubray/sam
A new generic mechanism to handle requests and responses using interceptors. To build an interceptor, you declare a class that implements the HttpInterceptor interface, then you chain it to the other interceptors responsible to handle the request or response.
boy oh boy, this new programming model is mind blowing. I am sure they went through years of introspection to come up with it
new and improvedHttpClient
The 80% use-case for async middleware is dispatching 2 actions in sequence: the synchronous “setup action” ™ and an asynchronous “follow-up action” ™.
That's how I handle "loading" spinners for instance, it's ludicrous to use ancillary state machines to manage fetching data