@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/angular/index.js
CHANGED
|
@@ -39755,7 +39755,15 @@ var createIslandStore = (storeId) => (createState) => {
|
|
|
39755
39755
|
if (existingStore) {
|
|
39756
39756
|
return existingStore;
|
|
39757
39757
|
}
|
|
39758
|
-
const store = createStore()(createState)
|
|
39758
|
+
const store = createStore()((set, get, api) => createState((update) => {
|
|
39759
|
+
set((state) => {
|
|
39760
|
+
const nextPartial = typeof update === "function" ? update(state) : update;
|
|
39761
|
+
return {
|
|
39762
|
+
...state,
|
|
39763
|
+
...nextPartial
|
|
39764
|
+
};
|
|
39765
|
+
});
|
|
39766
|
+
}, get, api));
|
|
39759
39767
|
const initialSnapshot = getIslandStoreSnapshot()[storeId];
|
|
39760
39768
|
applySnapshot(store, initialSnapshot);
|
|
39761
39769
|
getIslandStoreSnapshot()[storeId] = toSerializableState(store.getState());
|
|
@@ -39809,5 +39817,5 @@ export {
|
|
|
39809
39817
|
Island
|
|
39810
39818
|
};
|
|
39811
39819
|
|
|
39812
|
-
//# debugId=
|
|
39820
|
+
//# debugId=A81F267E47B9578264756E2164756E21
|
|
39813
39821
|
//# sourceMappingURL=index.js.map
|