@plasmicapp/loader-react 1.0.179 → 1.0.180
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/loader-react.cjs.development.js +2 -2
- package/dist/loader-react.cjs.development.js.map +1 -1
- package/dist/loader-react.cjs.production.min.js +1 -1
- package/dist/loader-react.cjs.production.min.js.map +1 -1
- package/dist/loader-react.esm.js +2 -2
- package/dist/loader-react.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/loader-react.esm.js
CHANGED
|
@@ -13,7 +13,7 @@ import * as jsxRuntime from 'react/jsx-runtime';
|
|
|
13
13
|
import pascalcase from 'pascalcase';
|
|
14
14
|
import { isFragment } from 'react-is';
|
|
15
15
|
import prepass from 'react-ssr-prepass';
|
|
16
|
-
import
|
|
16
|
+
import { renderToString as renderToString$1 } from 'react-dom/server';
|
|
17
17
|
|
|
18
18
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
19
19
|
try {
|
|
@@ -2829,7 +2829,7 @@ function renderToString(loader, lookup, opts) {
|
|
|
2829
2829
|
}
|
|
2830
2830
|
|
|
2831
2831
|
var element = makeElement(loader, lookup, opts);
|
|
2832
|
-
return
|
|
2832
|
+
return renderToString$1(element);
|
|
2833
2833
|
}
|
|
2834
2834
|
function extractPlasmicQueryDataFromElement(_x5, _x6, _x7) {
|
|
2835
2835
|
return _extractPlasmicQueryDataFromElement.apply(this, arguments);
|