@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/client/index.js
CHANGED
|
@@ -29942,7 +29942,15 @@ var createIslandStore = (storeId) => (createState) => {
|
|
|
29942
29942
|
if (existingStore) {
|
|
29943
29943
|
return existingStore;
|
|
29944
29944
|
}
|
|
29945
|
-
const store = createStore()(createState)
|
|
29945
|
+
const store = createStore()((set, get, api) => createState((update) => {
|
|
29946
|
+
set((state) => {
|
|
29947
|
+
const nextPartial = typeof update === "function" ? update(state) : update;
|
|
29948
|
+
return {
|
|
29949
|
+
...state,
|
|
29950
|
+
...nextPartial
|
|
29951
|
+
};
|
|
29952
|
+
});
|
|
29953
|
+
}, get, api));
|
|
29946
29954
|
const initialSnapshot = getIslandStoreSnapshot()[storeId];
|
|
29947
29955
|
applySnapshot(store, initialSnapshot);
|
|
29948
29956
|
getIslandStoreSnapshot()[storeId] = toSerializableState(store.getState());
|
|
@@ -30236,5 +30244,5 @@ export {
|
|
|
30236
30244
|
createIslandManifestResolver
|
|
30237
30245
|
};
|
|
30238
30246
|
|
|
30239
|
-
//# debugId=
|
|
30247
|
+
//# debugId=ED02FF0864132D5064756E2164756E21
|
|
30240
30248
|
//# sourceMappingURL=index.js.map
|