A lot of people are still using AngularJS. It’s hard to port your entire application to a new platform and even language. This week we had a student who asked a very good question: how do you unit test forms in AngularJS? Well, this article got me started. I wanted to put it in context … Read More
The Redux API provides for monitoring and adjusting the state store using a middleware API. Middleware APIs can intercept requests to execute actions and generate side-effects. Common uses of Redux Middleware include: Persisting Redux state to local storage and restoring it on startup Logging actions and pre/post state for each dispatch Asynchronous processing in action … Read More
There are a few basic strategies for managing state in Redux, and which ones you use depend on the level of language support an other APIs you have at your disposal. Here are four approaches: using a collections API, Object.assign, Immutable.js and the ES spread operators.
The first in a series of posts about Redux, the de-facto state storage engine for React, and how to integrate it with a React app. In this first article we make a case for Redux over passing props for events and data, and show a simple configuration.
I was lucky enough last week to attend PHLAI, a Comcast-sponsored conference on machine learning and artificial intelligence. The dreary weather did not dampen our spirits as practitioners and business stakeholders met to discuss one of the most important trends in our lifetime.
I recently attended the O’Reilly AI Conference in New York where artificial intelligence practitioners showcased the impressive strides they’ve made so far in using AI for real-world applications
Find out how the new HttpClient in Angular 4.3.1+ helps you write less code and test your services more easily.
Overview One of the new but little discussed APIs in iOS 11 allows the addition of swipe actions on UITableView rows via the new UISwipeActionsConfiguration class and associated UITableViewDelegate methods. Adding swipe left or swipe right actions is now pretty simple, so lets just dive right in. To try out these new APIs, a very … Read More
Ionic has a handy Loading component, typically used to display a spinner and message while some network operation completes or some other work goes on in the background. It works well for simple operations, but falls down for dynamic or multi-step operations. For instance, when you call the LoadingController to set things up, you can … Read More
Have you ever read something like this in the AWS documentation? “When you attach policy to a user, the user is the implicit principal. When you attach a permission policy to an IAM role, the principal identified in the role’s trust policy gets the permissions.” I spent a while trying to wrap my mind around … Read More