pocketbase-react 0.1.0 → 0.1.1
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 +2 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,4 +11,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
- Initial commit
|
|
12
12
|
|
|
13
13
|
### Changed
|
|
14
|
-
- Readme Instructions and so on
|
|
14
|
+
- Readme Instructions and so on
|
|
15
|
+
- initialCollections now also "subscribe" instead of just "fetch" content once
|
package/dist/cjs/index.js
CHANGED
|
@@ -3264,6 +3264,7 @@ var ContentProvider = function (props) {
|
|
|
3264
3264
|
if (collections) {
|
|
3265
3265
|
collections.forEach(function (collectionName) {
|
|
3266
3266
|
actions.fetch(collectionName);
|
|
3267
|
+
actions.subscribe(collectionName);
|
|
3267
3268
|
});
|
|
3268
3269
|
}
|
|
3269
3270
|
return function () { return actions.unsubscribe(); };
|