If you typically work with a lot of applications open at once on MacOS, you’ve probably noticed that things get pretty cluttered pretty fast. MacOS’s window manager has a few built-in features to help manage things, but I was never completely happy with it. In the last few months, I’ve been experimenting with using two tiling windows managers—Amethyst and chunkwm. In this post, I’ll give a brief overview of some of their differences and difficulties.
There are times when you want to merge two generic types in TypeScript, and type inference just isn’t doing it for you.
Object.assign’s typing isn’t as precise as it could be, and spreading generics still doesn’t work. I’ve found a way to implement typing when merging objects using some of the new features in TypeScript 2.8.
On most projects at Atomic Object, teams have at least two developers, allowing for pairing, code reviews, and other common practices we follow. On occasion, though, a smaller project needs only one developer. I’ve spent a portion of my current project working on my own and have found a few practices that make solo development easier. Read more on Best Practices for Solo Development…
Recently, I’ve been experimenting with using functional programming in my side projects. Today, I want to share some of what I’ve learned, focusing on utilities I’ve created to facilitate purely functional TypeScript programming.
If you’re using TypeScript, you probably lint your code with TSLint. It has tons of useful presets that can be easily configured to your liking. Perhaps, though, you want to dig a bit deeper and create rules of your own. In this post, I’ll walk you through the steps I took to create my first TSLint rule.
In just about any software project, you’ll come to a point when you need to refactor code. Sometimes, this can be small scale—maybe it’s just reworking a function. Other times, it’s more large-scale, affecting large pieces of the codebase.
At Atomic Object, a lot of our teams have been using React lately. Because of this, we’ve designed some of our recent bootcamps to ramp new employees up on it. In this post, I’ll go over some of the steps I would recommend when introducing yourself to React.
Code reviews are an important part of the development process for many teams. One of the big reasons teams use them is to give reviewers the chance to identify mistakes in code before it is merged into the rest of the codebase, but they’re also a great way to share knowledge about the application with the team and boost productivity.
When using these libraries, it’s good to know which to use when. Even if you choose to use Redux in your project, you will still need to make decisions on how much of your data is stored in Redux. Read more on React State vs. Redux State: When and Why?…
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…