data-fetching-architecture
A reference skill in the LobeHub repository, not called directly by users, on how server data moves through LobeHub's web front end.
O que a skill ensina
A reference skill in the LobeHub repository, not called directly by users, on how server data moves through LobeHub's web front end. Services own API calls, stores expose fetch hooks that keep a replica of server data, and components read through selectors. New server data must use the project's replica library rather than new SWR keys, which a test freezes. It covers keeping read and refresh parameters the same, skipping requests without a required ID, avoiding fetches in effects, optimistic updates with rollback, telling an unloaded result from an empty one, showing first-load errors, keeping content during background failures, and moving old effect-based fetching into store hooks.
O que faz
- Add server data through replica-backed store hooks
- Write mutations with optimistic updates and rollback
- Render loading, empty and error states correctly
- Migrate effect-based fetching to store hooks
Sobre
- Publicador
- LobeHub
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
O que tem dentro
- references/home-first-paint.md
- references/walkthrough.md
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Não informado na documentação | |
| Publicador | LobeHub | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | NOASSERTION | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 202684.974 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Fontes
- Arquivo da skill (SKILL.md)github.com/lobehub/lobehub16 de nov. de 2026
- Repositório no GitHubgithub.com/lobehub/lobehub · Comprova: Publicador, Atividade11 de nov. de 2026
- Arquivo da skill (SKILL.md)github.com/lobehub/lobehub · Comprova: Licença10 de nov. de 2026
- Pasta no repositório (data-fetching-architecture)github.com/lobehub/lobehub · Comprova: Inclui scripts10 de nov. de 2026