andreypopp / andreypopp/react-async
render with only component markup
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 440
- Forks
- 24
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
For server-side rendering, it would be useful to have a render method that only returns markup specified by components, without `data-reactid` attributes and `window.__reactAsyncStatePacket`, like `React.renderToStaticMarkup`.
Using `renderComponentToStringWithAsyncState` gives the warning:
```
Warning: ReactAsync.renderComponentToStringWithAsyncState will be deprecated in a future version. Use ReactAsync.renderToStringAsync instead.
```
Is there a way of achieving this, or one in the works?
Related: #14 #15
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.