Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Sep 22, 2021. It is now read-only.
This repository was archived by the owner on Sep 22, 2021. It is now read-only.
There was an error while loading. Please reload this page.
When you scope your data eg.
let $scope = model.scope('_page.variable')And set it to null$scope.set(null);In method react-sharedb/lib/subscribe.js: _updateCollectionData, will be called:
this.data = (0, _observerUtil.observable)(this.data);Where this.data == null;
In observer methods it will test if it is not instrument and call on it:
var constructor = ref.constructorWhere ref will be null.Temporary fix for this is to set false insteadof null.