a2ui-project / a2ui-project/a2ui
Swift: Finalize progressive rendering behavior of child lists
- Lingua principale
- TypeScript
- Stelle
- 16.4k
- Fork
- 1.3k
- Merge medio
- 3g 15h
- PR unite (30g)
- 134
Descrizione
> It's not uncommon for 1) an `updateComponents` message to describe a component that reference other components as its children and 2) the client hasn't heard a thing about those children yet (that often arrives in a follow-up `UpdateComponents` message that comes right after the first).
>
> In this scenario, wouldn't the lookup return `nil` and every caller just drops its job of rendering this subtree because `resolveChildList` skips nil children.
>
> In this scenario, our prior art implements progressive rendering, putting placeholders in place of children that have yet to arrive. I don't remember off the top of my head how much better this tends to look compared to the more classical approach of just having components pop in as they arrive, so your mileage may vary.
>
>
>
>
_Originally posted by @andrewkolos in [#2052](https://github.com/a2ui-project/a2ui/pull/2052/changes/BASE..a2a3eb346038b0723b2289a3d03b0c2799e58654#r3639480312)_
Once the Basic Catalog and Sample App are up and running, finalize the behavior of declared but missing (or incomplete) render nodes. Perhaps with a placeholder view or perhaps pop-in.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
La issue fa riferimento al comportamento di rendering progressivo degli elenchi figli in Swift. Inizia esaminando la funzione `resolveChildList` e il modo in cui gestisce i figli nil. Esamina Basic Catalog e Sample App per comprendere il flusso di rendering attuale. Determina se implementare placeholder o pop-in per i nodi di rendering mancanti e verifica il risultato visivo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- swift, typescript
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100