Hacker News new | past | comments | ask | show | jobs | submit login

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?




>> 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!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: