It's important to be able to quickly and efficiently evaluate and communicate the relative performance of an algorithm or block of code. Though daunting at first, Big O notation does just that. Read More...
Now that you're an uploading aficionado, let's take it one step further. We'll clean up our UploadService implementation and talk about some corner cases you may encounter. Read More...
A common task in frontend development is uploading a file provided by the user. Visual feedback on upload progress prevents the user from worrying while they wait. Read More...
JavaScript always knows exactly what variable context you intended. For those times where it doesn't, try out a const. Read More...
JavaScript always knows exactly what context you intended. For those times where it doesn't, try out a bind. Read More...
All programmers are perfect, of course. For those times where we're not, toss in an assert. Read More...
The ECMAScript standard has brought with it many useful syntactic shortcuts that make development quick and easy, if not a bit cryptic at times. Let's take a look at the object spread operator. Read More...
Have you ever thought to yourself "I wish my text editor were entirely cryptic, didn't let me type without entering a secret code, and can't be closed without rebooting?" I've got just the thing for you. Read More...
You use them every day and you've probably never given them a second thought. What is a foo? How exactly does one bar? How big is a baz? Great question. Read More...
Have you ever worked on a huge block of code for a few hours, bundled and run it, and it just worked? With TypeScript, that becomes a much more common occurence. Read More...
Or, an idiomatic way to avoid callback hell. Read More...
Yesterday, we talked about the high-level implications of React's new Hooks API. Now we'll go over their usage and explore a few different patterns you'll want to familiarize yourself with. Read More...
Component-based design transformed the frontend landscape by fundamentally changing the way web apps are built. React's new Hooks API is set to do that again, this time for function logic. Read More...
We defined reducers as a function that accepts two inputs and produces a single output. What about reducers that don't immediately look like reducers? You may already know a few! Read More...
You have a reducer that's almost perfect, but it's not quite right. A transducer can take your existing reducer and fit it to the task at hand. Read More...
It may not be immediately obvious through the many modern layers of abstraction, but code can often be boiled down to piping some number of inputs to some other form of output. Reducers play a key role in this process. Read More...
A common task in front-end development is taking a string of user input and filtering a dataset for rows that contain that input. Let's explore that. Read More...
In which our intrepid hero embarks upon a perilous quest. Read More...