This is a forked and decaffeinated version of ViewModel by Manuel De Leon.
Changes so far:
- Transpiled to JS with Decaffeinate
- Switched
cultofcoders:mocha
tometeortesting:mocha
- Update
chai
andsinon
dependencies - Package renamed to
arggh:viewmodel
- Version bumped to
7.0.0
(though not published yet) - Removed unnecessary return statements
- Fixed some broken tests
Contributions are very welcome:
- Combing through the transpiled code and applying suggestions by Decaffeinate
- Fixing weird code created in the transpilation process
- Performance improvements!
ViewModel is a view layer for Meteor. You can think of it as Angular, Knockout, Aurelia, Vue, etc. but without the boilerplate code required to make those work.
Here are some things it can do to make your life easier:
- Less code to get things done
- State is automatically saved for you across hot code pushes
- Save the state on the url
- Components can be used as controls
- Share state between components
- Compose view elements via mixins
- Inline/scoped styles
- Better error messages
Go to viewmodel.org for examples and full documentation.
Go to the help section if you have any questions, comments, feedback, or just want to talk about anything related to ViewModel and Meteor.