2022-01-13
2103
#react
Iva Kop
85856
Jan 13, 2022 ⋅ 7 min read

UI best practices for loading, error, and empty states in React

Iva Kop I am a self-taught software developer passionate about frontend development and architecture.

Recent posts:

DesignCoder and the future of AI-generated UI

From sketches to code in minutes, DesignCoder shows how AI-generated, hierarchy-aware UIs could change the way developers prototype and ship apps.

Rosario De Chiara
Oct 7, 2025 ⋅ 5 min read

Would You Use If() functions in CSS?

It’s 2025, and CSS finally thinks logically. The if() function brings real conditional styling — no hacks, no JS workarounds. Here’s how to use it right.

Ikeh Akinyemi
Oct 7, 2025 ⋅ 16 min read
Typescript or Zod for Validation?

TypeScript vs Zod: Clearing up validation confusion

Learn when to use TypeScript, Zod, or both for data validation. Avoid redundant checks and build safer, type-sound applications.

Alexander Godwin
Oct 6, 2025 ⋅ 3 min read
Wasm 3 Before GTA 6 LogRocket Article

We got Wasm 3.0 before GTA 6: Meet the web’s new engine

Discover how WebAssembly 3.0’s garbage collector, exception handling, and Memory64 transform Wasm into a true mainstream web platform.

Ikeh Akinyemi
Oct 3, 2025 ⋅ 2 min read
View all posts

One Reply to "UI best practices for loading, error, and empty states in React"

  1. Hi,
    Thank you for this great article.

    1. How would you handle if cats data is never null, but is returned as an empty array? That makes handling progress more challenging?

    2. The suspense – looks interesting, there are some warnings about your implementation and react18. There is no progressBar?

    Cheers

Leave a Reply