render nothing if the param is the number zero
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 814
- Forks
- 37
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
In react, the number zero will be rendered directly, rather than taken as false or null.
`let items = ['one', 'two', 'three'];
document.body.innerHTML = (
Hi!
Here is a list of {items.length} items:
- { 1 }
{ items.map( item => (
)) }
);
`
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.