February 17, 2017
0 strokes bestowed

Zeno's Paradox of Infinite Loop Scrolling

or Everything Moves but You

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…
March 26, 2016
0 strokes bestowed
I've written before about my not so mild hatred for the request to open all external links in new tabs. For those who don't know, this is done by adding target="_blank" to the anchor tag. I don't like doing this for so many reasons, but I'll save that rant for another blog post. Now, I've been…
March 13, 2016
0 strokes bestowed
Recently, I worked my way through the D3 Intro Course taught by Ian Johnson over at Front End Masters and have been practicing what I've learned ever since. I'm not great at it (yet), and I haven't made anything too amazing, but I am getting a better grasp of this awesome library (big thanks…
Previous123456
7
8Next

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.

Data Structures and Algorithms Logo
Data Structures and Algorithms

Check out my courses!

Liked the post? You might like my video courses, too. Click the button to view this course or go to Courses for more information.
View on egghead.io