February 26, 2017
0 strokes bestowed
Recently, I ran a poll on Twitter asking web developers what was most important to them. Here's a look at the results. Over 50% of the voters said the people they work with is most important to them, followed by the product they work on, and lastly, followed by the tech they use at work. No one…
February 23, 2017
0 strokes bestowed
If you're using Redux with React, you are probably familiar with the concept of container and presentational components. If you are, you can skip ahead to the section Renderless Components . If you're not, let me give you a very brief description of each. Container Components The purpose of a…
Tags
ReactRedux
February 17, 2017
0 strokes bestowed
My current project has a strange requirement. Given a collection of items, a user should be able to infinitely loop scroll left and right in a carousel. From strictly a UI perspective, this makes sense, when I move to the left, add items to the right and vice versa. From a developer's perspective…
February 16, 2017
0 strokes bestowed
I am starting a randomly occuring series called "Head Scratchers." At least once a week (probably once a day), I run into a problem that makes me scratch my head for while. So I'm going to share the problem and my solution with you. If you think of a better way to solve the problem, I want to see it…
Tags
React
February 08, 2017
0 strokes bestowed
I am currently working on a React/Redux universally rendered application at work. It has some fun parts and I want to share what I've learned from building them. One of those parts is a component I have called the BlocksLoop . In the design phase of the project, long before I was ever a part of the…
Tags
React
January 20, 2017
0 strokes bestowed
I want to share with you a little trick I've been using lately with stateless functional components in React. This is probably really old news to some of you, but I'm hoping there are a few of you who don't know this one yet. If you're getting started with React, and especially if you're using Redux…
Tags
React
December 03, 2016
0 strokes bestowed
Yesterday, I was poring through some code when I came across a pattern I hadn't seen used in JavaScript before. The pattern looked like this: This pattern takes advantage of how logical operators work. In the case of && , when the left side is true, the runtime evaluates the right side. Since an…
December 01, 2016
0 strokes bestowed
At work, I am building a JavaScript application with universal rendering. There are a number of challenges with building a universally rendered application, but one challenge in particular is making sure code that should only run on the client doesn't cause the server to crash. Today, I built a…
Tags
React
November 16, 2016
0 strokes bestowed
Redux is a predictable state container for JavaScript apps. I've been using it in all of my apps recently and I discovered an elegant and clever use of it that I want to share. The rest of this article assumes you know how to use Redux. If you do not, follow the link above and read up before…
Tags
Redux
March 27, 2016
0 strokes bestowed
In previous posts I've mentioned my vehement dislike of purposefully opening links in a new tab. Here's a short list of reasons why it's a bad idea: It's not the default behavior of links. It's extra work, generally because the developer will code it to open normally, someone will see it and say…
Previous12345
6
7Next

Let's talk some more about JavaScript, React, and software engineering.

I write a newsletter to share my thoughts and the projects I'm working on. I would love for you to join the conversation. You can unsubscribe at any time.

Introduction to State Machines and XState Logo
Introduction to State Machines and XState

Check out my courses!

Liked the post? You might like my video courses, too. Watch them on Podia or egghead.io.
View on PodiaView on egghead.io