nextbone
nextbone copied to clipboard
Backbone reimagined with ES classes and web components
Currently the computed value passed to validators have attrs that will not be in the final model attributes, like flattened ones
form.set('obj.nested', 1) => add 'obj', instead of 'obj.nested' to dirty list
Lets see if has any use case
Should allow to define declarative filters, automatic updates on params change Bonus: having a way to cache derived values used in filters like regex Current patterns: dedicated subclass ```js export...
Pass rules as an option to FormState
Should check if form is Valid and trigger an 'form-submit' event The event name should be customizable An callback onSubmit should be allowed to handle the submit
Useful to implement saving data on interval `lastChange` ? `changedAt` ?