Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

render with only component markup #48

Open
premasagar opened this issue Jun 23, 2015 · 0 comments
Open

render with only component markup #48

premasagar opened this issue Jun 23, 2015 · 0 comments

Comments

@premasagar
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant