@absolutejs/absolute 0.19.0-beta.336 → 0.19.0-beta.337
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/angular/browser.js +10 -2
- package/dist/angular/browser.js.map +3 -3
- package/dist/angular/index.js +10 -2
- package/dist/angular/index.js.map +3 -3
- package/dist/client/index.js +10 -2
- package/dist/client/index.js.map +3 -3
- package/dist/islands/browser.js +10 -2
- package/dist/islands/browser.js.map +3 -3
- package/dist/islands/index.js +10 -2
- package/dist/islands/index.js.map +3 -3
- package/dist/islands/server.js +10 -2
- package/dist/islands/server.js.map +3 -3
- package/dist/react/browser.js +10 -2
- package/dist/react/browser.js.map +3 -3
- package/dist/react/hooks/index.js +10 -2
- package/dist/react/hooks/index.js.map +3 -3
- package/dist/react/index.js +10 -2
- package/dist/react/index.js.map +3 -3
- package/dist/src/client/islandStore.d.ts +4 -2
- package/dist/svelte/browser.js +10 -2
- package/dist/svelte/browser.js.map +3 -3
- package/dist/svelte/index.js +10 -2
- package/dist/svelte/index.js.map +3 -3
- package/dist/vue/browser.js +10 -2
- package/dist/vue/browser.js.map +3 -3
- package/dist/vue/index.js +10 -2
- package/dist/vue/index.js.map +3 -3
- package/package.json +1 -1
package/dist/islands/server.js
CHANGED
|
@@ -30275,7 +30275,15 @@ var createIslandStore = (storeId) => (createState) => {
|
|
|
30275
30275
|
if (existingStore) {
|
|
30276
30276
|
return existingStore;
|
|
30277
30277
|
}
|
|
30278
|
-
const store = createStore()(createState)
|
|
30278
|
+
const store = createStore()((set, get, api) => createState((update) => {
|
|
30279
|
+
set((state) => {
|
|
30280
|
+
const nextPartial = typeof update === "function" ? update(state) : update;
|
|
30281
|
+
return {
|
|
30282
|
+
...state,
|
|
30283
|
+
...nextPartial
|
|
30284
|
+
};
|
|
30285
|
+
});
|
|
30286
|
+
}, get, api));
|
|
30279
30287
|
const initialSnapshot = getIslandStoreSnapshot()[storeId];
|
|
30280
30288
|
applySnapshot(store, initialSnapshot);
|
|
30281
30289
|
getIslandStoreSnapshot()[storeId] = toSerializableState(store.getState());
|
|
@@ -30304,5 +30312,5 @@ export {
|
|
|
30304
30312
|
createIslandStore
|
|
30305
30313
|
};
|
|
30306
30314
|
|
|
30307
|
-
//# debugId=
|
|
30315
|
+
//# debugId=677B248489EBBD7764756E2164756E21
|
|
30308
30316
|
//# sourceMappingURL=server.js.map
|