Skip to content

How To Use and Not Use State

By Brad Westfall
Read Post

Blog Posts


How To Use and Not Use State

By
8 minute read

3-part Series How is state related to the declarative approach in React? ⭐️ How to use and not use state? How do props relate to state…

Tags: ReactBeginnerState

How is state related to the declarative approach in React?

By
5 minute read

3-Part Series ⭐️ How is state related to the declarative approach in React? How to use and not use state? How do props relate to state…

Tags: ReactBeginnerState

Working with React Context in TypeScript

By
5 minute read

Like any other technology, TypeScript can be very helpful or a giant pain in the neck. In a word, TypeScript very much embodies the notion…

Tags: ReactReact contextTypeScript

React Router v6 Preview

By
11 minute read

The next major version of React Router, version 6, is just around the corner. We published the first alpha release back in January , and we…

Tags: ReactReact Router

React: "mount" vs "render"?

By
5 minute read

Here's a brief tldr; "Rendering" is any time a function component gets called (or a class-based render method gets called) which returns…

Tags: ReactBeginner

useEffect(fn, []) is not the new componentDidMount()

By
11 minute read

We often times do some setup when the component first mounts like a network call or a subscription. We have taught ourselves to think in…

Tags: ReacthooksuseEffect

Portals with Context

By
7 minute read

It seems like React's context is starting to become much more widely adopted, especially since the hook useContext makes it much easier…

Tags: ReactBeginner

When do I use functions in a Hooks Dependency Array?

By
8 minute read

Hooks were designed to bring functional composition to React, but there are some rules that you'll need to follow in order for them to work…

Tags: ReactHooks

React Router v5.1

By
8 minute read

Today, we are releasing React Router version 5.1 . This post will discuss the 5.1 release as well as discuss a few things you can do to…

Tags: ReactReact Router

The Future of React Router and @reach/router

By
5 minute read

tl;dr We are bringing together the best of React Router and Reach Router into a new, hook-based API. React Router will be the surviving…

Tags: ReactReact RouterReach Router

Wins for Hooks

By
1 minute read

Now that hooks have been released for... 🤔 checks watch ...less than two months, you've probably noticed there are a few obvious wins if…

Tags: ReactHooks

Blog Claps, and lessons on Hooks 🎉

By
7 minute read

Last week we finished migrating our React Training Blog off Medium and into here. As I was doing the migration I thought, Michael and Ryan…

Tags: ReactHooks

React Router v5

By
6 minute read

Today, we are excited to announce the release of React Router version 5 . You can get it using: tl;dr React Router version 5 is now…

Tags: ReactReact Router

Announcing Reach UI Tabs

By
4 minute read

The latest member of the Reach UI family is here! Tab interfaces are incredibly common on the web, and really easy to build a naive version…

Tags: ReactReach UI

Flow Control in React

By
6 minute read

Learning how to do JSX with React can be really fun for those who are starting out (once you've mastered some of the confusing parts ). It…

Tags: ReactJSXBeginner

JSX: The Confusing Parts

By
17 minute read

This article doesn't attempt to explain every single aspect of JSX, but rather to explain the parts that most people find difficult to grasp…

Tags: JSXReactBeginner