mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 20:27:03 +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');
|