It'd be nice if we can pass specific props to the template - for example if you're looping through an object and each object needs to be passed in.
Since we can't just pass arbitrary props to the component, I'm proposing we pass in an object with the props, which then merges with the parent's data & props to be passed to the template.
It'd be nice if we can pass specific props to the template - for example if you're looping through an object and each object needs to be passed in.
Since we can't just pass arbitrary props to the component, I'm proposing we pass in an object with the props, which then merges with the parent's data & props to be passed to the template.
Example: