React Custom Hooks And When To Use Them
Why and When To Use Custom Hooks The main reason to write a custom hook is for code reusability. For example, instead of writing the same code across multiple components that use the same common stateful logic (say a “setState” or
Intro to MVVM in React (with MobX)
So you’re a seasoned React developer, but you’ve never applied the Model-View-ViewModel (MVVM) architectural pattern to your work. No worries! In this post, I’ll give you a basic introduction to what MVVM can look like in React (using MobX) to
React/Redux Featuring Hooks ⚓️
I Bet I Could *Hook* You Into Redux Again Starting on a new project that uses React as a front-end framework with Redux, I didn’t know what to expect. Coming from native iOS development, handling state was relatively straightforward: if you
Building Dynamic Environment Variables from Docker for a Single Page App
While in the midst of building, we realized that one of the requirements for deploying was to have certain URLs/keys/secrets be pulled from Docker UCP and dynamically defined without having to rebuild the entire single-page app. Ultimately, we came up with
CoLabs Skill Share | How to Lift State with React
Today’s conundrum: you want to manage state in your React app, but you don’t want to learn yet another library. I get it. It’s difficult enough to get a grasp on one thing at a time! No worries, you can