andreypopp / andreypopp/react-async
render with only component markup
オープン
- 主要言語
- JavaScript
- スター
- 440
- フォーク
- 24
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。