Closed spencer-brown closed 6 years ago
Yep I dig that! Especially having props.models
take priority over context
as you showed in your example.
Super appreciate the thoughtful issue giving a heads up before hand as well.
Please do submit a PR!
Based on the way
context
andprops
are handled here,models
cannot be received fromcontext
andprops
simultaneously.props
gets priority, knocking out anymodels
passed viacontext
. We had a discussion at @mixmaxhq about this today and concluded that it would probably make more sense for models received fromcontext
andprops
to be merged, eg with~If we make this change, we'll also want to update how check received~ <-- I don't think this is necessary, actually.models
here.I wanted to check in with y'all before submitting a PR to hear how this lines up with your usage. Does this change make sense to y'all too? If so, I'm happy to go ahead and make it!
Thanks!