4 ms·
Hmm, that's not a bad idea actually. So you never expose your models at all to your components? Apart from dirty-check for POST/PUT and uniqueness/sorting what
by seivan 11y ago
Hmm, that's not a bad idea actually. So you never expose your models at all to your components?
Apart from dirty-check for POST/PUT and uniqueness/sorting what other benefits could Backbone models have?
How do you expose your models to the view, I would guess you just serialise into regular objects?
- pramodliv1 11y ago>> So you never expose your models at all to your components? Yes, I don't expose models to the components. I'm trying this on a side project. We are still using plain Backbone in production. So, I don't have experience with large scale React apps. >> What other benefits could Backbone models have? It also features like validation and other stuff like nested models built by the community. >> How do you expose your models to the view, I would guess you just serialise into regular objects? Yes!