You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhancement
Up to now when when we've been using render props in widgets we've used a by convention renderer property. This kind of works for a single renderer, but not for many and because this is only by convention we can't for certain know what property is a render prop. In 7 we'd like to propose a change to our children behaviour to support named renderers, it would look something like:
Enhancement
Up to now when when we've been using render props in widgets we've used a by convention
renderer
property. This kind of works for a single renderer, but not for many and because this is only by convention we can't for certain know what property is a render prop. In 7 we'd like to propose a change to our children behaviour to support named renderers, it would look something like:or
As part of this we might need to move
children
to the properties interface to allow this to be inferred by TSX.With this in place we should be able to write a better harness to deal with render props.
The text was updated successfully, but these errors were encountered: