Skip to content

Releases: zhiqipan/demo-mobx

Stable release with @observer

18 May 08:21
9a9780e
Compare
Choose a tag to compare
Pre-release

As of now, the following has been added:

  • Fix a critical issue where multiple autorun() functions cannot be triggered correctly
  • Implement observer annotation for React components
  • Add three examples to demonstrate the usage of this demo MobX lib with React (with observable and observer), examples are
    1. Counter
    2. Todo List
    3. Advanced Todo List
  • Add support for remove() method in ObservableArray
  • More comprehensive unit tests

This release improves stability to a large extent and is tested with more comprehensive test cases, including integration test with real React components.

[v0.0.1-alpha] First Release

16 May 09:32
bf139ce
Compare
Choose a tag to compare
Pre-release

As of now, the following has been implemented:

  • observable annotation supporting primitive values, arrays, and objects
  • autorun() function which gets triggered when corresponding observable(s) is changed
  • autorun function is now disposable
  • Include unit tests

After working on this for a while, I think this is the reasonable point to have the very first release. The project at this point should be good enough for demo usage.