Tutorial: how to embed a react component that is part of a larger app
How to embed part of a NextJS application This article assumes you have some basic understanding of React/NextJS In recent years it is…
How to embed part of a NextJS application This article assumes you have some basic understanding of React/NextJS In recent years it is…
I've worked with many engineers who I consider to be extremely skilled at Frontend code, knew the web APIs inside-out... but produced very…
If you are like me, you might primarily use your mouse to interact with websites. But sometimes you will open up a modal, and instinctively…
The web API has so many useful features, and I'm always finding new ones I haven't come across before. Today I found out about ways to…
Autocomplete is the very useful feature in browsers where when a user is presented with a form, the browser can fill it in with previously…
Summary of how you can deep clone easily with structuredClone tldr: you can use structuredClone(someObject) and it will deep clone…
I used to think that server side rendered react apps was quite complex to set up. And it is - behind the scenes. But we can use renderToStr…
I think almost all React devs are familiar with useState(), useCallback(), useEffect() etc. But there are quite a few more than are less…
Modern web apps often have a need for a multi stage wizard. This is a guide on how to build it with React, using context. This tutorial…
Here are some notes/tips/tricks when it comes to testing in React. Some are quite basic things, some are things I see less frequently in…
Here are some features, tips and tricks for using Chrome's inspector. It is very powerful with lots of advanced tooling to help with…
This page lists some CSS features that I thought were interesting and don't come up often during normal day-to-day work. This page is a WIP…
WIP post, with some interesting topics about web APIs/HTML elements/etc. Get the label for an input easily I never knew that form elements…
This is a list of some interesting (but less often discussed) topics related to React that I thought were interesting. React.Children…
If you work with JS/TS then you are going to be very familiar with dependencies/devDependencies in your package.json. As a quick reminder:…
Short guide on some of various ways to correctly type components and related types in React. updated for React 18 Typing a functional…
Here are some useful snippets for quickly getting some services set up with docker. I've left some commented out lines that you may want to…
Here is a list of everything I can think of relating to looping in JS. There isn't much purpose to this post, I was just trying to find…
Sometimes you want to have some basic way to persist data between tab reloads in your React app. One way to do it is with localStorage. This…
We often end up with huge apps that mutate state, run business logic, make API calls, and manage the UI rendering. This can sometimes be too…