Travel, Code, and Engineering

Tag: react


React Project Structure

There's not a lot of guidance out there about how to structure React projects. The guidance that is out there seems fine at first until you realize it doesn't scale much at all past the simple...


React Dependency Arrays and Derived State

Dependency arrays are a very important part of React Hooks. They allow you to indicate what your effects, callbacks, and memos depend on so they can be recalculated only when necessary. For...


React and Ruby on Rails Lessons Learned

I recently started using React in my web apps to make them more interactive. React is great for the view layer of an application, but it needs to be paired with a backend of some sort. In my web...