We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 488bcbc commit f7abc6bCopy full SHA for f7abc6b
src/jsx.js
@@ -1,3 +1,4 @@
1
+import './polyfills';
2
import renderToString from '.';
3
import { indent, encodeEntities, assign } from './util';
4
import prettyFormat from 'pretty-format';
src/polyfills.js
@@ -0,0 +1,7 @@
+if (typeof Symbol!=='function') {
+ let c = 0;
+ Symbol = function(s) { // eslint-disable-line
+ return `@@${s}${++c}`;
5
+ };
6
+ Symbol.for = s => `@@${s}`;
7
+}
0 commit comments