One of my pet peeves about webapps is that actions that happen in things like a modal or other popover are often not linkable. This makes sharing those actions with others hard: send a link to the original URL along with instructions about what to do in order to trigger the overlay. A much better… Continue reading Give Modals, Drawers, and other Overlay Elements URLs with React Router
Category: ReactJS
Inversion of Control is About Choice
Specifically inversion of control is about not making a choice in one place and forcing that choice to be made elsewhere. Take a library that talks to a database. Should that library make a choice on how to connect to the datatabase? If it does, that's a huge set of things to support and more… Continue reading Inversion of Control is About Choice
Forms in ReactJS
There are a lot of form libraries for react out there that promise the on true, right way to do things. Two years into my own ReactJS journey, and I've come to a few conclusions. Form State Does Not Belong in a Store Think of how your browser usually works, does it send form data… Continue reading Forms in ReactJS