Skip to content

Immutable store with serialization

Latest
Compare
Choose a tag to compare
@gforge gforge released this 11 May 08:36
· 71 commits to master since this release

The PNGJS3 now supports immutability through an Immer storage that can be serialized to a plain object that can be stored in a Redux storage.

The changes are:

  • Immutable store (setters and getters should allow for the same API as before) - issue #49
  • There is a shape attribute with the width and the height
  • For storage you can now use serialize() and static deserialize()