You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instantiate a cache and pass it to any rendering method (`renderToString`, `renderToStaticMarkup`, `renderToNodeStream`, or `renderToStaticNodeStream`) as a second argument. Wherever you would use `ReactDOM.renderToString`, use `ReactCC.renderToString`.
18
+
19
+
**Note: All of these methods are asynchronous, and return a promise. To use them, `await` the response before rendering**
bunchOfProducts.push(<ProductInfokey={i}name={`Thing ${i}`}description="This product is awesome!"price={i*10}nonTemplatized="THIS TEXT SHOULD NEVER CHANGE"/>);
15
+
bunchOfProducts.push(<ProductInfokey={i}name={`Thing ${i}`}description="This product is awesome!"price={i*10}nonTemplatized="THIS TEXT SHOULD NEVER CHANGE"templatized={templatizedProps}/>);
0 commit comments