Tag: react

useState With URLs Persist State WIth useSearchParams

useState with URLs: How to persist state with useSearchParams

Dev

Learn about a simple React Hook that stores state in the URL query string, building on top of the React Router useSearchParams Hook.

John Reilly
Sep 9, 2022 ⋅ 4 min read
An Introduction To React State Management

A guide to choosing the right React state management solution

Dev

React state management comes with challenges developers should be prepared to overcome. Learn the best approach, tool, and pattern to do so.

Iva Kop
Sep 9, 2022 ⋅ 13 min read
Caching clash: SWR vs. TanStack Query for React

Caching clash: SWR vs. TanStack Query for React

Dev

With the language-agnostic release of TanStack Query, we review its features, tooling, and usability against SWR, another React caching tool.

Shalitha Suranga
Sep 7, 2022 ⋅ 15 min read
Building A Pomodoro Timer With Tauri Using React And Vite

Building a pomodoro timer with Tauri using React and Vite

Dev

Learn how to build a simple pomodoro timer using Tauri, a set of tools for building cross-platform desktop apps using frontend frameworks.

Rahul Padalkar
Sep 7, 2022 ⋅ 5 min read
Unit Testing With React And Cypress

Unit testing with React and Cypress

Dev

Unit testing is used by developers to verify that an application runs well. It involves checking every module of the application independently.

Ishan Manandhar
Sep 5, 2022 ⋅ 6 min read
Vite and React Logos Over Lightning

Vite 3.0 vs. Create React App: Comparison and migration guide

Dev

Learn how to build React applications with Vite and how to migrate from Create React App to Vite. Compare the core concepts of both tools.

David Omotayo
Sep 2, 2022 ⋅ 8 min read

How to use polyfills in your React app

Dev

Polyfills are essential to using the latest and greatest tools in your apps. Learn how to build them from scratch in this post.

Ovie Okeh
Sep 1, 2022 ⋅ 6 min read
Typewriter Effect React

Create a typewriter effect for code blocks with React

Dev

Learn how to build a typewriter effect for code blocks using React with syntax highlighting.

Victory Tuduo
Aug 25, 2022 ⋅ 4 min read
Strict Mode In React 18

Using strict mode in React 18: A guide to its new behaviors

Dev

While Strict Mode has been a React feature for some time time, v18 makes it more efficient in catching early bugs, making the codebase more predictable.

Abhinav Anshul
Aug 23, 2022 ⋅ 5 min read
React Prop Types Validate Props

How to validate React props using PropTypes

Dev

To pass props between React components, you can add them when the component is called, just like passing arguments when calling on a regular JavaScript function.

Glad Chinda
Aug 17, 2022 ⋅ 8 min read
Build a Draggable Slider in React

Building a draggable slider in React

Dev

See how easy it is to create a draggable slider in React with the react-draggable-slider package with custom styling and animation.

Timonwa Akintokun
Aug 17, 2022 ⋅ 8 min read
What Is A Virtual Dom In React

What is the virtual DOM in React?

Dev

The virtual DOM provides a mechanism that abstracts manual DOM manipulations away from the developer, helping us to write more predictable code.

Ibadehin Mojeed
Aug 16, 2022 ⋅ 9 min read