[REACT] propertyConfigNames
should be processed by the wrapper
#10514
Labels
bug
Something isn't working
forum
Issues from forum
high-priority
Urgent to have fixed
info requested
Further information is requested
react
React framework integration
wrappers
Framework wrappers integration
Forum post
I think we should also process propertyConfigNames in addition to propertyNames. The only difference between the two is that properties are not set during config time and propConfigs can be set both at config and run time.
The code should then read:
function shouldComponentUpdate(component: any, nextProps: Readonly, nextState: Readonly): boolean {
const { props, instance, propertyNames, propertyConfigNames } = component;
}
(untested)
I'll try the above and if our tests pass it'll be released in the next version.
The text was updated successfully, but these errors were encountered: