React advanced topics debouncing, performance
6/13/2024As React applications grow, the challenges you face change. Early on, the focus is on getting components to render and state to update…
16 posts
As React applications grow, the challenges you face change. Early on, the focus is on getting components to render and state to update…
Refactor Part 1: Split Read and Write Concerns A small but important improvement is to split context into separate concerns. One simple…
Refactor Part 2: Co-locate State and Use Multiple Contexts In many real apps, the biggest win comes from not putting everything in a single…
Context, state, and re-renders are where a “simple” React app quietly turns into a pizza kitchen with too many cooks shouting orders at each…
Hacks for dealing with specificity Rules are the children of principles. CSS specificity is the set of rules browsers use to determine which…
CSS selectors target and select the HTML elements you want to style. They are often treated as a solved problem, something we learn once and…
CSS inheritance is one of the most fundamental and most misunderstood concepts in styling the web. At first glance, it feels almost…
Today, my thoughts were wandering through the curious world of CSS heights, and I found myself fascinated by one of front-end development’s…
In CSS, selectors are patterns used to select DOM elements Here is an example of using selectors. In the following code, a and h1 are…
The hassle around the Z-index Z-Index is one of the most confusing and unintuitive properties in CSS, but it’s actually pretty simple once…
How to bring life in a webpage ? 🤔 “Animation is about creating the illusion of life.” Brad Bird By animating information onto the page, we…
How the Box Model Works Every element is a rectangular box, and there are several properties that determine the size of that box. The core…
The CSS :root pseudo-class selector is used to select the highest-level parent of a given specification. In the HTML specification, the…
The Flexbox Model still contains the major elements of the Box Model (margin, padding, border and content), but offers flexibility to best…
CSS Selector Overview There are multiple ways to select the elements you’re trying to style in CSS. Let’s start by reviewing all the options…
React Advanced Topics: State and Context Architecture React has revolutionized the way we build UIs, making component-based development the…