joebobmiles / zustand-middleware-yjs

Zustand middleware that enables sharing of state between clients via Yjs.
MIT License
103 stars 10 forks source link

Fix for "null has no member __old" (#32) #33

Closed joebobmiles closed 2 years ago

joebobmiles commented 2 years ago

This addresses the bug reported in #32. Adds tests for behavior when a value being diff'd is null/undefined and fixes errors that occur when this is the case (namely, change list creation throwing a fatal error).

joebobmiles commented 2 years ago

:tada: This PR is included in version 1.2.7-rc.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

joebobmiles commented 2 years ago

:tada: This PR is included in version 1.2.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket: