[Content]: Typescript "Event handling" and "Advanced JSX attributes and directives" sections
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- MDX
- Sterne
- 292
- Forks
- 361
- Ø Merge
- 7 Std. 51 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
📚 Subject area/topic
Typescript "Event handling" and "Advanced JSX attributes and directives" sections
📋 Page(s) affected (or suggested, for new content)
https://docs.solidjs.com/configuration/typescript#event-handling
https://docs.solidjs.com/configuration/typescript#advanced-jsx-attributes-and-directives
https://docs.solidjs.com/configuration/typescript#custom-event-handlers
📋 Description of content that is out-of-date or incorrect
- "Event handling" section and "custom event handler" section are split up, it makes more sense for these to be together
- "custom event handler" section is currently under "Advanced JSX attributes and directives" along with "Forcing properties and custom attributes" and "Custom directives". I'm not sure it makes sense to have these split up. I feel like it would be easier to find if they were all just part of the list of API types. @LadyBluenotes let me know what you think about this one please.
- "Forcing properties and custom attributes" and "Custom directives" are not a high enough level heading to show up in the page outline
- "custom event handler" should be renamed since it also covers standard events, it is really just how to type
on:both custom and standard events - standard events for
on:are not included in SolidJS by default so the types have to be added manually, it should probably just be a subsection rather than a callout
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit den Abschnitten der TypeScript-Seite an den drei verlinkten Dokumentationsankern: Event handling, Advanced JSX attributes and directives und Custom event handlers. Überprüfe die aktuellen Überschriften und Inhalte und fasse anschließend die relevanten Abschnitte zusammen und benenne sie um, damit die Seitenstruktur und die Anleitung zur Typisierung von Events klarer sind. Erledigt ist die Aufgabe, wenn die betroffenen Themen logisch gruppiert sind und sowohl standardmäßige als auch benutzerdefinierte on:-Events korrekt beschreiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- Ein halber Tag
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100