mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-30 13:33:55 +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');
|