Typesafe Container Components with React-Redux’s Connect and TypeScript

TypeScript is fantastic—you get feedback as you write your code to (mostly) ensure you’re passing valid arguments to functions and props to components. However, when using the connect function, you may find that you are permitted to pass invalid props or omit required props to components. In this post, I’ll discuss how the issue arises, and how to fix it by typing your calls to connect! Read more on Typesafe Container Components with React-Redux’s Connect and TypeScript…

How to Programmatically Remove a Cell From a Static UITableView

There are two different ways to add cells to a UITableView.

The first is by using dynamic prototype cells in your table view. For a dynamic table view, you programmatically arrange the cells and sections of the table view by implementing the UITableViewDataSource protocol in code. Using this method, you can display a variable number of cells and sections at runtime. Read more on How to Programmatically Remove a Cell From a Static UITableView…

Using Decorators to Declaratively Extend Functions

The decorator pattern gained fame in the object-oriented world after being featured in the classic 1994 Gang of Four book, Design Patterns. Since then, it’s been used extensively in traditional object-oriented programming as an alternative to inheritance. What’s really going on behind the scenes though, is composition, which means decorators are also great for cleaning up some functional programming boilerplate.

We’re going to look at decorators in JavaScript, along with some proposed syntax sugar coming in ES2017 that will make it easier to use them. Read more on Using Decorators to Declaratively Extend Functions…

Cell Zero goes to Ember Conf 2017

One of our Accelerator program’s goals is to make sure that our consultants are well-connected: in our company, in our community, but also in the industry as a whole. We go to great lengths to create opportunities for Accelerator members to get to know their fellow Atoms. Our cohorts visit local user groups and conferences.

We also like to attend a couple of conferences outside Michigan each year to meet folks from other parts of the country and learn what excites them. In this spirit, Cell Zero recently took a trip to Portland, Oregon, to attend Ember Conf 2017.
Read more on Cell Zero goes to Ember Conf 2017…

KPI Monitoring with Fabric.io

Until recently, all of the application monitoring solutions that I had seen suffered from one major pitfall or another. Either they were too difficult and time-consuming to set up, or they had convoluted and byzantine reporting mechanisms. After becoming disillusioned with Firebase, our team recently switched one client over to Fabric.io, and we’ve been extremely happy with the results.
Read more on KPI Monitoring with Fabric.io…

10 Tips for Creating a Job-Winning Design Portfolio

We recently opened up our lovely new home to college students from AIGA West Michigan to host their annual student portfolio review, WIP It Into Shape. It kicked off with a panel discussion, followed by a few hours of portfolio reviews.

Overall, I was very impressed with the work shown. Upon some reflection, I realized I had repeated the same advice for improving portfolios a few times. In fact, they were the same tips I gave to students last year, and the year before. This made me think the information needs to be more broadly available. So today, I’m going to share my tips for creating a job-winning portfolio. Read more on 10 Tips for Creating a Job-Winning Design Portfolio…

Six Ways to Tame Your IoT Project

IoT projects can be complicated. Compared to a mobile or web application, connected physical products frequently involve a wider breadth of software, hardware, and people. The complexity of building an IoT product can quickly become overwhelming if not properly managed. Here are a few things that can help tame the chaos of an IoT project. Read more on Six Ways to Tame Your IoT Project…

Representing Function Properties in TypeScript

We’ve been using TypeScript on an Electron project. It’s been a huge win already—a little additional upfront investment gives us more confidence that our code is correct and reduces the chance that it will pass unexpectedly-shaped objects around, a source of many bugs in my past Node applications.

But sometimes, it’s not immediately clear how to type certain kinds of objects. You can, of course, represent these as any whenever you need to—but any any you rely on can weaken your code’s quality. Last week, I discovered another way to avoid falling back on that crutch, thanks to the power of TypeScript’s type system.
Read more on Representing Function Properties in TypeScript…

loading…