File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ The object returned has two properties:
6969
7070 - ` markup ` - the rendered markup
7171 - ` props ` - the JSON-serialized props
72+ - ` data ` - extra data returned by the render server
7273
7374If the object is coerced to a string, it will emit the value of the ` markup ` attribute.
7475
@@ -82,6 +83,8 @@ for a simple server that will cover most cases. The key files for the render ser
8283 - [ render_server.js] ( examples/basic_rendering/render_server.js ) - the server's source code
8384 - [ package.json] ( examples/basic_rendering/package.json ) - the server's dependencies, installable with
8485 [ npm] ( http://npmjs.com )
86+
87+ You can also return extra data from your render server and these data will be stored in ` data ` attribute of the response object.
8588
8689
8790Using React on the front-end
You can’t perform that action at this time.
0 commit comments