jaredly / jaredly/jaredly.github.io

React.arrayToElement -> ReasonReact.arrayToElement

Aperta
#8 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
9
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Excellent post @jaredly!

I noticed that in a few places the post has`React.arrayToElement` when it should say `ReasonReact.arrayToElement`.

Also, I got pretty tripped up here:

![image](https://user-images.githubusercontent.com/4427/27989572-4d92e430-63f0-11e7-8d4e-990e41afcdb6.png)

I didn't notice the `/* ... */` had code inside it! After all, it kinda looks like a comment. This led to me writing my state type definition after the call to `ReasonReact.statefulComponent`, which led to `Unbound record field items` errors that were pretty confusing for me.

Maybe that collapsable section should be open by default? Or maybe you could use a disclosure arrow instead of comment syntax.

Anyway, thanks again for writing this! 😄

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Individua il post contenente i riferimenti a `React.arrayToElement` e l’esempio di codice compresso; l’issue non indica né un file né un test. Correggi il nome dell’API e rendi più facile riconoscere o trovare il codice nascosto, quindi verifica che il post renderizzato presenti chiaramente l’esempio.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, react
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.