RSSAmplifier

Blog

Boon Blog

Boon Blog — writing on technology, React, Elm, and the occasional aside about life in San Francisco.

blog.boon.glRSS feed ↗7 posts

Latest posts

Test Flake: Chrome Clicks

This is the first in what I expect to be an ongoing series of posts on common sources of test flake. Today: Chrome! Specifically, sometimes clicking a link in end-to-end tests, even on a static page, doesn’t navigate to the next page. In the screenshot grabbed from the failing test it might even show the link as outlined as if it had been clicked. There was a period where roughly half of our…

React Lifecycle Edge Cases

I have a “scratch” wrapper I wrote for React as an alternative to setState for controlled components. The idea being that it’s nice to keep all data in Redux, but it’s kind of a pain in the butt to do so manually for every single form, since generally you will also want that data to be cleared from the store when the form is unmounted. My ConnectWithScratch higher order component adds lifecycle…

React Elm Wrapper

I’ve recently been spending a lot of time scratching my head regarding application architecture with React and Redux. It often feels like this tug of war between class based and functional programming. I’m not super attached to one paradigm or another, but I am certainly FP-curious. However, whenever I push to work exclusively in a functional way in JavaScript, I keep running into situations where…

Routes as State in React

I’ve been using React Router for a while now in a project and was running up against some frustration getting access to information that comes through the URL. I’m using Redux and React Redux for state management and Reselect for getting useful bits of information out of the state. The problem is that when I need to grab some information from the state based on the current route, it can be really…

React DnD Example Simplified

I recently started playing around with React DnD to implement some drag and drop sorting on an app I’m working on . The examples provided are built using a lot of the new syntax in ES6, as well as having a good deal of what might be considered more “proper” structuring for a React app, so it was challenging for me to parse out the critical bits for React DnD to function. To further my own…

Setting up a Middleman Blog

Second blog post seems like a good time to write about my experience setting up a blog using Middleman while it’s still fresh in my mind. Middleman is a static site generator, a la Jekyll , and I’m using their blogging extension . If you’re starting fresh, then I would recommend the thoughtbot post on how to get a blog set up with their bourbon , neat , and bitters SASS libraries, as this is…

Finding an Apartment in San Francisco

I recently settled into a new apartment after a grueling two month search, so I thought I’d share some of my experience looking for an apartment during the worst time of the year for it . It can be a harrowing time, and to be honest, if you can put it off until a better time of year, I’d recommend it. Prices will be lower and the competition for the affordable places will be considerably less…