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
4 months agoZoila
4 months agoReed
4 months agoNorah
4 months agoCarlee
4 months agoTegan
5 months agoCyndy
5 months agoLili
5 months agoIdella
5 months agoKris
5 months agoKasandra
5 months agoEden
5 months ago