@webqit/oohtml 4.1.1-debug.3 → 4.1.1-debug.4
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/package.json
CHANGED
|
@@ -116,7 +116,7 @@ export default function() {
|
|
|
116
116
|
priv.moduleRefRealtime = realdom.realtime( this.el ).attr( configs.HTML_IMPORTS.attr.ref, ( record, { signal } ) => {
|
|
117
117
|
priv.moduleRef = record.value;
|
|
118
118
|
// Below, we ignore first restore from hydration
|
|
119
|
-
priv.importRequest( fragments =>
|
|
119
|
+
priv.importRequest( fragments => !priv.hydrationImportRequest && this.fill( fragments ), signal );
|
|
120
120
|
}, { live: true, timing: 'sync', lifecycleSignals: true } );
|
|
121
121
|
// Must come after
|
|
122
122
|
priv.hydrationImportRequest?.abort();
|
|
@@ -154,7 +154,6 @@ export default function() {
|
|
|
154
154
|
* @return void
|
|
155
155
|
*/
|
|
156
156
|
fill( slottableElements ) {
|
|
157
|
-
console.log('////////--///////', slottableElements);
|
|
158
157
|
if ( Array.isArray( slottableElements ) ) { slottableElements = new Set( slottableElements ) }
|
|
159
158
|
// This state must be set before the diffing below and the serialization done at createAnchorNode()
|
|
160
159
|
this.el.setAttribute( 'data-nodecount', slottableElements.size );
|