Recommended way of Skin binding - Use hostcomponent or getter/setter
Were building an app with a lot of custom components used for displaying objects.
I'm wondering what is the recommended way of binding properties in the skin to properties in the hostcomponent class.
For example is have a class with a property Person.
And in my skin i have a couple of textInput's displaying the person data.
Now i often use {hostComponent.person.name} in my skin to bind the properties.
I know i can use getters/setters and commit properties as well to get the same result.
But this creates a lot of code for doing the same thing.
Is there a recommended way of binding properties in the skin to the hostcomponent class?
