We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a28978 commit a163da5Copy full SHA for a163da5
use-shopping-cart/core/store.js
@@ -61,3 +61,8 @@ export function createShoppingCartStore(options) {
61
}).concat(handleStripe)
62
})
63
}
64
+
65
+// for non react apps
66
+export function createPersistedStore(store) {
67
+ return persistStore(store)
68
+}
0 commit comments