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:

how to hide scrollbars with CSS

How to use CSS to hide scrollbars without impacting scrolling

Learn how to hide the scrollbar in popular web browsers by making use of modern CSS techniques, and dive into some interactive examples.

Fimber Elemuwa
Mar 4, 2025 â‹… 10 min read

16 React component libraries and kits for improved UI

Discover 16 of the most useful React content libraries and kits, and learn how to use them in your next React app.

Chidume Nnamdi
Mar 4, 2025 â‹… 16 min read
typescript vs javascript

TypeScript vs. JavaScript: Differences and use cases for each

Choosing between TypeScript and JavaScript depends on your project’s complexity, team structure, and long-term goals.

Kayode Adeniyi
Mar 4, 2025 â‹… 4 min read
Understanding UUIDs In Node.js

Understanding UUIDs in Node.js

Generate and validate UUIDs in Node.js using libraries like `uuid`, `short-uuid`, and `nanoid`, covering UUID versions and best practices.

Ukeje Goodness
Mar 3, 2025 â‹… 7 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