Uncaught TypeError: Invalid value used as weak map key
at WeakMap.set (<anonymous>)
at ObjectRef.id (Util.js:216:29)
at safeHash (Util.js:321:83)
at Object.GetHashCode (AnimatedTree.fs.js:105:99)
at HashSet__TryFindIndex_2B595 (MutableSet.js:140:30)
at HashSet__Contains_2B595 (MutableSet.js:233:24)
at HashSet.has (MutableSet.js:109:16)
at addToSet (MapUtil.js:104:13)
at eval (Seq2.js:42:124)
at eval (Seq.js:651:13)
The above error occurred in the <Components_LazyView$1> component:
at Components_LazyView$1 (webpack:///./src/.fable/Fable.Elmish.React.3.0.1/common.fs.js?:41:9)
Error occurs using the AnimatedTree demo code:
Full repository demonstrating the error is here.