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:
69
69
70
70
- ` markup ` - the rendered markup
71
71
- ` props ` - the JSON-serialized props
72
+ - ` data ` - extra data returned by the render server
72
73
73
74
If the object is coerced to a string, it will emit the value of the ` markup ` attribute.
74
75
@@ -82,6 +83,8 @@ for a simple server that will cover most cases. The key files for the render ser
82
83
- [ render_server.js] ( examples/basic_rendering/render_server.js ) - the server's source code
83
84
- [ package.json] ( examples/basic_rendering/package.json ) - the server's dependencies, installable with
84
85
[ 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.
85
88
86
89
87
90
Using React on the front-end
You can’t perform that action at this time.
0 commit comments