What is the correct way to communicate the new value of a property named ''passthrough'' to my-parent component if the property is defined within my-child-component?
I believe option B might be correct since it looks like it uses the right approach for passing data up, but I need to double-check the event handling part.
I'm a bit confused about the syntax for emitting events. I feel like I practiced this, but I can't recall if it's done with 'this.emit' or something else.
I remember a similar question where we had to pass data up the hierarchy, and I think it involved using a method in the parent component. Could it be option C?
I think we need to use an event emitter to communicate the new value from my-child-component to my-parent component, but I'm not entirely sure which option that would be.
Hmm, I remember learning about joint tenancy in class, but I'm a bit fuzzy on the details. I'll have to read the options closely and try to recall the key characteristics.
Nguyet
5 months agoZoila
6 months agoReed
6 months agoNorah
6 months agoCarlee
6 months agoTegan
6 months agoCyndy
6 months agoLili
6 months agoIdella
7 months agoKris
7 months agoKasandra
7 months agoEden
7 months ago