There were a few surprises when we upgraded to RC7 that weren’t mentioned in the blog post. The biggest for us being the changes to components and how their context is now inherited from the parent controller. This is a great change and easy to account for, but I was wondering if anyone else has run into any surprises with RC7? It feels like things are moving so quickly that some changes are slipping through the cracks with regards to release notes. Anyone else have any thoughts/input on this?
“… components and how their context is now inherited from the parent controller”
What? Is this for real? I thought the entire purpose of components was to be controller agnostic and as such the default context would be the component it’s self.
'this' context in actions sent from componets
Sorry, what I meant to say is that yielded content inherits the context. This is the change that describes what I’m talking about:
There was also a change that allows a context to be sent along with an action:
These are two pretty awesome (and potentially breaking) changes that were made to components, yet there was no mention of it in the RC7 release post. The inherited context change, in particular, forced us to change some of our component code. That’s all.