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
For computationally expensive operations, it'd be good to have:
@resolve("options",(props)=>{/* Something that does lots of processing */},{shouldComponentUpdate: function(props){returnthis.props.choices.length!==props.choices.length;}})classChoiceWidgetextendsReact.Component{
...
Otherwise, all of the work gets done & the main component has no chance to bypass the effort.
The text was updated successfully, but these errors were encountered:
For computationally expensive operations, it'd be good to have:
Otherwise, all of the work gets done & the main component has no chance to bypass the effort.
The text was updated successfully, but these errors were encountered: