@wix/zero-config-implementation 1.55.0 → 1.57.0
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/index.d.ts +3 -2
- package/dist/index.js +1261 -1250
- package/package.json +3 -3
- package/src/component-renderer.ts +29 -10
package/dist/index.d.ts
CHANGED
|
@@ -2429,8 +2429,9 @@ export declare interface RenderContext {
|
|
|
2429
2429
|
* @param store - Shared ExtractorStore, included in each CreateElementEvent
|
|
2430
2430
|
* @param compiledEntryPath - Optional path to the user's compiled bundle. When
|
|
2431
2431
|
* provided, the renderer additionally patches the React module instance
|
|
2432
|
-
* that the bundle resolves from its own `node_modules`
|
|
2433
|
-
*
|
|
2432
|
+
* that the bundle resolves from its own `node_modules` and drives SSR
|
|
2433
|
+
* with the user-bundle's `react-dom/server` (required when the host
|
|
2434
|
+
* bundles its own React; otherwise hooks crash).
|
|
2434
2435
|
* @returns Static HTML string with trace IDs on DOM elements
|
|
2435
2436
|
*
|
|
2436
2437
|
* @example
|