This is a custom hook developed by Clutch.
It is used to return the results of the component composition.
When creating a new component, the definition for that component will be set automatically with a useComposition hook.
It passes props into the composition.
It can be augmented with additional properties.
Here is an example where we pass in a new text property that we can access and bind to a text component inside the composition.
Text component added
Set the text property as an expression to bind the passed in prop.
Updated about 1 month ago