Vercel + Notion

My Notion Blog

Maintaining Standards Within your Web Apps Team.

By: John Detlefs
Posted: June 10, 2020

If you work in technical teams you will ultimately end up having a disagreement. These disagreements can be as minor as what should be linted and as major as the ethics of the product you are building. Being able to proactively address potential sources of conflict and choosing battles judiciously is an art that I have yet to master.

CORS and SameSite Cookies Got You Down? An Effective Workaround for Browser Security Policies

By: John Detlefs
Posted: April 01, 2020

Like many of my colleagues I haven't ever felt like I really understood what Cross Origin Resource Sharing (CORS) policies accomplish. I feel like when I try to learn more about it, I understand it even less. Of CORS My Request Failed

Memoization, Generators, Virtualization, Oh my! Building a High Performance Directory Component in React

By: John Detlefs
Posted: January 12, 2020

Developers often pretend to know what they're doing, especially when they're insecure newer developers like myself! Sometimes we happen to stumble upon interesting patterns, think they're elegant, and get attached to them rather than using the solution that performs better. In the course of building a file directory, I gleaned some interesting insights into recursion, search, memoization, virtualization, and generator functions. The path getting there exposed me to concepts that I haven't really dealt with since my algorithms course in college. Fortunately, my first slow-but-elegant solution, a recursive react component, was supplanted by the use of generator functions in react-vtree, an equally interesting technology. Dealing with folder-based file systems has been one of the more rewarding small features I've had the opportunity to work in my short career.

Thenable Commands in Cypress.

By: John Detlefs
Posted: February 06, 2021

No preview available

A Tip On Managing Complexity In React and Typescript

By: John Detlefs
Posted: April 06, 2020

No preview available