I love exploring new libraries and frameworks to see where the next big trends or patterns might be. I don’t know how I came across Mithril.js, but I’m glad I did. I don’t know Mithril particularly well, but I know it brings something new to the table — it’s minimal and fast. I’m going to […]
2020 has whisked us out of our meeting rooms and into conference calls. Even when we use video calls, the focus of the meeting is always on what’s said. This has pushed our laptop mics to center stage — and now we’re remembering why we didn’t use them that often. So here are a few […]
Single-page web apps are an ideal environment for close designer/developer collaboration. Developers often lack the intricate knowledge of CSS and HTML layouts they need to implement a designer’s work as first imagined. Fortunately, many designers have experience with front-end web development. Cooperation between these two “teams” yields faster implementation of designs that represent the designer’s […]
For most of us, working from home has shifted from “exceptional and unique” to “daily into the foreseeable future.” In my former life as an office-inhabiting worker, I was among the most gregarious; now I am the only one in my office. I’ve had a few months to perfect my work-from-home strategies. I hope they […]
On a recent project, we used Jest to orchestrate the tests across our web app, which uses a combination of Puppeteer, SuperTest, and Enzyme for testing. Here’s an overview of how we wired up and tested each part of the app, the tools/libraries we used, and the orchestration we did to run all of the […]
Create React App is the easiest and most available way to get into React. And ejecting your app is seen as the gateway to being a “Real React Developer.” I’m not normally for gatekeeping, but ejecting is worth avoiding. Today, I’m going to try and convince you to take your hand off the eject button. […]
Being able to resize an HTML element is a handy feature. But implementing the feature isn’t as easy as it looks. CSS has a built-in resize property, but it’s limited in functionality. The property will add a handle to the bottom right corner of your element. From there, you can expand or shrink the bottom […]
Functional programming is a broad discipline, and this series has only scratched the surface. Like most skills, it is learned through practice. To help you practice, I’ve found a few ideas that are rooted in functional programming and may find a place in your next project. I’ve also collected a few functional languages that offer […]
Much of the power of functional programming is self-evident, but I wanted to spend some time exploring the reasons for and against using a functional style.
In functional programming, there are a lot of ideas and patterns that can make writing code a lot easier — most importantly pure functions, immutable state, and higher-order functions. I want to spend some time discussing these concepts and why they’re helpful in the context of functional programming.