@pie-element/rubric 1.6.3-next.882 → 1.6.3-next.884

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.
@@ -30752,7 +30752,6 @@ function Provider(_ref) {
30752
30752
  var store = _ref.store, context = _ref.context, children = _ref.children;
30753
30753
  var contextValue = useMemo$1(function () {
30754
30754
  var subscription = createSubscription(store);
30755
- subscription.onStateChange = subscription.notifyNestedSubs;
30756
30755
  return {
30757
30756
  store: store,
30758
30757
  subscription: subscription
@@ -30763,6 +30762,7 @@ function Provider(_ref) {
30763
30762
  }, [store]);
30764
30763
  useIsomorphicLayoutEffect$1(function () {
30765
30764
  var subscription = contextValue.subscription;
30765
+ subscription.onStateChange = subscription.notifyNestedSubs;
30766
30766
  subscription.trySubscribe();
30767
30767
  if (previousState !== store.getState()) {
30768
30768
  subscription.notifyNestedSubs();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/rubric",
3
- "version": "1.6.3-next.882+bb41bf1d8",
3
+ "version": "1.6.3-next.884+78a777cb1",
4
4
  "main": "lib/index.js",
5
5
  "module": "src/index.js",
6
6
  "description": "Rubric Scoring Interaction",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "author": "pie framework developers",
16
16
  "license": "ISC",
17
- "gitHead": "bb41bf1d814ea45d69faf3ee87798c9676a9df9b",
17
+ "gitHead": "78a777cb177a8c54a4b243aac4cba7f61fed8f87",
18
18
  "scripts": {
19
19
  "postpublish": "../../scripts/postpublish"
20
20
  },