redux-astroglide 0.1.6 → 0.1.8

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/CHANGELOG.md ADDED
@@ -0,0 +1,4 @@
1
+
2
+ ### Bug Fixes
3
+
4
+ ### Features
package/README.md CHANGED
@@ -203,9 +203,9 @@ const configure = "redux-astroglide";
203
203
  export const {
204
204
  store,
205
205
  createSlice,
206
- injectReducer,
207
- injectSlice,
208
- injectMiddleware,
206
+ injectReducer, // injectReducer(key: string, state => state: reducer fn, optionally async)
207
+ injectSlice, // injectSlice(slice: result from createSlice())
208
+ injectMiddleware, // injectMiddleware(middleware: redux middleware)
209
209
  } = configure();
210
210
  ```
211
211
 
@@ -225,7 +225,7 @@ const slice = createSlice("Login", {
225
225
  // Nav/slice.js
226
226
  const slice = createSlice("Nav", {
227
227
  isOpen: persist("", {
228
- storageType: localStorage,
228
+ storageType: localStorage, // default localStorage, must match localStorage API
229
229
  }),
230
230
  clickCount: set((value) => value + 1),
231
231
  });
@@ -307,6 +307,8 @@ addPlugins({
307
307
 
308
308
  ```
309
309
 
310
+ Note: This import style uses a package.json `exports` field which is still not supported in some environments. If the nested imports like `redux-astroglide/plugins` can't be found in your project try importing them from `redux-astroglide/dist/plugins` and `redux-astroglide/dist/plugins/set` etc.
311
+
310
312
   
311
313
 
312
314
  ## Contributing