mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-23 18:13:54 +03:00
10 lines
316 B
JavaScript
10 lines
316 B
JavaScript
|
// React patched version for render in server side always with same ids
|
||
|
if (typeof window === "undefined") {
|
||
|
var ServerReactRootIndex = require('react/lib/ServerReactRootIndex');
|
||
|
ServerReactRootIndex.createReactRootIndex = function(){
|
||
|
return "graphene";
|
||
|
};
|
||
|
}
|
||
|
|
||
|
module.exports = require('original-react');
|