MCPcopy
hub / github.com/wdjungst/react-project / getContent

Function getContent

modules/PublicServerAPI.js:170–173  ·  view source on GitHub ↗
(req, appElement)

Source from the content-addressed store, hash-verified

168}
169
170function getContent(req, appElement) {
171 return (SERVER_RENDERING) ?
172 renderToString(appElement) : ''
173}
174
175function getAssetPaths(stats, regex) {
176 return Object.keys(stats.assetsByChunkName).reduce((assets, key) => {

Callers 1

sendWithReactRouterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected