react-async v0.5.0 Release Notes
-
ReactAsync.renderComponentToString
now can accept callback w/ 3rd argumentdata
. In this case data will not be injected automatically into the markup.ReactAsync.injectIntoMarkup(markup, data, scripts)
to inject data into markup as JSON blob and a list of scripts (URLs) as elements.