diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-10-17 23:39:40 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-10-17 23:39:40 +0200 |
commit | 9ab738e4786434e5fc28976f3b8265662e2138f2 (patch) | |
tree | 13f70460177c0a3e566eb40531b3ca84d6071bd0 /packages/gitbook-core/src | |
parent | d0555e2bd0281e7548228a92f796a1f73904742d (diff) | |
download | gitbook-9ab738e4786434e5fc28976f3b8265662e2138f2.zip gitbook-9ab738e4786434e5fc28976f3b8265662e2138f2.tar.gz gitbook-9ab738e4786434e5fc28976f3b8265662e2138f2.tar.bz2 |
Use same react instance between server and gitbook
Fix injection of DOM properties not working on the browser
Diffstat (limited to 'packages/gitbook-core/src')
-rw-r--r-- | packages/gitbook-core/src/server.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/gitbook-core/src/server.js b/packages/gitbook-core/src/server.js new file mode 100644 index 0000000..0363aa0 --- /dev/null +++ b/packages/gitbook-core/src/server.js @@ -0,0 +1,2 @@ +const ReactDOMServer = require('react-dom/server'); +module.exports = ReactDOMServer; |