Gar

Results 489 comments of Gar

Ah yes, this old peach. I've personally never been 100% satisfied w/ the way props are defined, thinking "just one more major version tweak and I think we likely have...

Also related: https://github.com/AmpersandJS/ampersand-state/issues/55

And if they are undefined and there is a default? Should required and default be mutually exclusive?

Thanks for keeping with this @bobholt, sorry it didn't get reopened. Doing that now.

I don't think we're ready to throw promises into the mix here. So far nobody has come up w/ a method that they feel is ready enough to make a...

No that is not intended, could you give an example of this?

Oh right, the collection has no way to know if attributes in an object change. So you either set the object wholly, or call sort, I think.

subcollection is being deprecated, see https://github.com/AmpersandJS/ampersand-subcollection/issues/43 This doesn't change this issue, just where you should be looking as we go forward filtered-subcollection sortBy line is here https://github.com/AmpersandJS/ampersand-filtered-subcollection/blob/master/ampersand-filtered-subcollection.js#L259

I'd definitely want to hear from other @AmpersandJS/core-team members, but at first glance it seems to me the code in ampersand-collection is a rough version of what's in underscore/amp/lodash sortBy...