Skip to main content

88 posts tagged with "react"

View All Tags

React Testing Library notes and sample tests.

Integrating React Testing Library into a docusaurus project using Jest as the test runner, while also using TypeScript.

How to install and configure Jest for your JavaScript and TypeScript projects. Packages, configuration files, and running tests within a Docker container.

Let's review some popular testing frameworks and compare their features.

Implementing TypeScript in React with props, state, hooks and more.

A component that makes it easy to create vertical and horizontal space between elements, which varies based on the screen size.

A component that detects the height of the content inside it and then offers the ability to expand or collapse the content if it exceeds a certain height.

Storing TipTap Editor State in Redux with Debouncing to persist editor state in a performant manner.

Preventing multiple renders with useEffect in React

Prevent fonts from render-blocking in React with Fontsource

Getting hash links (IE anchor links) to function with React-Router v6

Learning a few of the gotchas while integrating Sentry error reporting tool

How to quickly and easily switch between Yarn and NPM package managers in Node

I've discovered something magical, useMemo can return objects full of functions that can be destructured.

A scaffold for a responsive D3 chart in React with Redux

Additional table customization not mentioned in documentation. Data formatting, combining custom props.

Exploring column resizing. Understand the useBlockLayout hook. Being able to set explicit widths for columns

Adding pagination to a react-table.

Using initialState to set a default filter and sort on specific columns on load

Notes on React-Table useSortBy hook. Simplest possible implementation example.