pattern rule · warning
require-loading-state
Async actions (fetch / axios / mutate) without a loading UI.
What it flags
Track an isLoading / pending boolean and reflect it in the UI.
How to run it
Run npx windcraft check to run this and the other rules over your project. It ships at warning severity by default, and your AI tools can call it on a snippet over MCP through validate_component_code — so drift is caught as the code is written, not just in review.