singharmani.bsky.social
@singharmani.bsky.social
Sharing my experience on how to use Suspense for data fetching in React, which lets you declaratively manage your app's loading state. No more conditional rendering logic all over the place. ⚛️ 🚀
amanexplains.com/react-suspen...
React Suspense for data fetching
Learn how to use Suspense for data fetching in React, which lets you declaratively manage your app's loading state..
amanexplains.com
March 10, 2025 at 7:49 AM
I like the idea of Suspense Api in React allowing me to write components without worrying about their internal loading state and have the Suspense takes care of it at the outer layer.
January 31, 2025 at 6:56 AM
Reposted
No, I don't need a bloody copilot for this document, thank you.

Writing is, in no small part, a tool for thinking. If you outsource that element to a machine that cannot think, you shouldn't be surprised if, at the end of the process, neither you nor your reader are any the wiser.
January 26, 2025 at 1:31 PM