Ambiente de programação com IA
Interfaces móveis
Projete carregamento, lista vazia e nova tentativa em uma tela móvel.
● ● ●Codespot Mobile●
Fluxos de trabalho · Interfaces móveis ×
if (state.loading) return LoadingView();
if (state.error) return RetryView(reload);
if (!state.items.length) return EmptyView();
return ItemList(state.items);✳Projete carregamento, lista vazia e nova tentativa em uma tela móvel.
✓ AlteraçõesRevise antes de aplicar ↗
Ilustração do ambiente
Modelos
Configure um endpoint compatível com OpenAI ou Anthropic com a URL base e uma chave API, quando necessária. Teste a conexão. O servidor local precisa estar em execução; ferramentas remotas podem transmitir dados separadamente.
Projeto
Preserve os itens durante a atualização e verifique se a tentativa não duplica requisições.
Revise antes de aplicar
Compare o comportamento real com o resultado esperado. Se uma verificação falhar, investigue a causa antes de fazer outras alterações.
Fluxos de trabalho
if (state.loading) return LoadingView();
if (state.error) return RetryView(reload);
if (!state.items.length) return EmptyView();
return ItemList(state.items);