lyndsiwilliams.hashnode.devApache Superset: Installing locally is easy using the makefileAre you interested in trying out Superset, but you're intimidated by the local setup process? Worry not! Superset needs some initial setup to install locally, but I've got a streamlined way to get started - using the makefile! This file contains a se...Aug 20, 2023·3 min read
lyndsiwilliams.hashnode.devReal DOM, Virtual DOM, Shadow DOM, What's the Difference?Real DOMs and virtual DOMs and shadow DOMs, oh my! Let's take a dive to see how they all work together to create a clean, performant Document Object Model. The DOM (Document Object Model) is exactly as it states. The HTML tree of a website is represe...Jul 20, 2023·3 min read
lyndsiwilliams.hashnode.devReact hooks: An advanced look at converting useState to useReducerIn my previous blog, I gave a basic demonstration on how to manage state with useReducer instead of useState. In this blog, I'll dive into a more complex example. When managing state for a form, things can get complex quickly. Take this form, for exa...Jul 20, 2023·3 min read
lyndsiwilliams.hashnode.devReact hooks: How to convert useState to useReduceruseState and useReducer are both React hooks that allow you to manage state in your components. useState is a simpler hook that allows you to manage a single piece of state, while useReducer is more powerful and allows you to manage more complex stat...Jul 20, 2023·3 min read
lyndsiwilliams.hashnode.devApache Superset: Testing and Enzyme to RTL conversionSuperset uses Jest and React Testing Library (RTL) to write unit and integration tests. In the past we used Enzyme, but now that we're currently converting all of our class components to functional components, Enzyme cannot support our testing needs....Jul 20, 2023·3 min read