Reusable controls

I see there’s an example for the rating, but at a first look it’s not clear if that control could be reused since it hardcodes the model field in JSX. Are there examples of a reusable custom controls ?

Hi @sf17,

the existing renderers in our off the shelf renderer sets are using the exact same mechanism as custom renderers. So any existing renderer in our code base is already an example of a reusable custom renderer.

In general you can implement almost any behavior via a custom renderer. Architecturally they can consume, if they want to, the whole form-wide state and render arbitrary UI based on that. Our utilities and pre-existing just help you to guide the way but technically they don’t even need to be used.