Releases: zhiqipan/demo-mobx
Releases · zhiqipan/demo-mobx
Stable release with @observer
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
andobserver
), examples are- Counter
- Todo List
- Advanced Todo List
- Add support for
remove()
method inObservableArray
- 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
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.