Skip to content

v1.1.0

Compare
Choose a tag to compare
@dai-shi dai-shi released this 24 Jul 23:23

This version adds a new feature in subscribe. The subscribe callback receives the changes made. This is for expert users who know how valtio behaves internally. There's no docs for the feature (TS types might help).

It has a new util proxyWithHistory based on the new feature. This is for ordinary users.

We encourage 3rd-party library authors to develop some utils based on this new feature.

  • #177 feat: subscribe ops
  • #181 feat: proxyWithHistory