---
title: "Discussion on \"Spinners Are a Design Decision: Writing Loading and Error Rules for Your Coding Agent\" | Hashnode"
description: "Discussion on \"Spinners Are a Design Decision: Writing Loading and Error Rules for Your Coding Agent\". Ask a coding agent for a page that fetches data and you will almost always get the same loading logic: a boolean, a centered spinner while it is true, and the content when it is false. If the request"
url: "https://hashnode.com/posts/spinners-are-a-design-decision-writing-loading-and-error-rules-for-your-coding-agent/6afbf6a3d0e9e9fe45064867"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Spinners Are a Design Decision: Writing Loading and Error Rules for Your Coding Agent](https://notesonaiandui.hashnode.dev/spinners-are-a-design-decision-writing-loading-and-error-rules-for-your-coding-agent?utm_source=hashnode&utm_medium=feed)

Ask a coding agent for a page that fetches data and you will almost always get the same loading logic: a boolean, a centered spinner while it is true, and the content when it is false. If the request

1d ago · 7 min read · notesonaiandui.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#cursor](https://hashnode.com/tag/cursor)
-   [#ux](https://hashnode.com/tag/ux)
-   [#frontend](https://hashnode.com/tag/frontend)

## Written by

[Notes on AI and UI](https://hashnode.com/@notesonaiandui)

@notesonaiandui

  
[View profile](https://hashnode.com/@notesonaiandui)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
