ionic-team / ionic-team/ionic-docs

content: Describe why certain implementations (e.g. ion-loading) are described as recommended

Offen
#3,669 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
content
Vorherrschende Sprache
MDX
Sterne
621
Forks
3.2k
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
86

Beschreibung

### Describe Problem

For example the documentation of ion-loading describes both an inline and controller implementation, but describes the inline one as recommended without explaining why.

It would be useful to know why this is recommended at this point in the documentation as it may inform your decision about how to implement something. For example, a controller-based implementation of ion-loading may seem preferable to my use case, but if I don't know why an inline implementation is recommended it's harder to make a good choice.

Is this recommendation simply for code clarity, or does it provide a benefit to the end user?

### Describe Preferred Solution

I believe there are a few components that have the same description so this could just be a link to a page describing why inline implementations are preferable.

### Describe Alternatives

_No response_

### Additional Information

https://ionicframework.com/docs/api/loading#inline-recommended

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.