At the moment react-whs doesn't support updating component properties from React properties. Changing them will result in a component rebuild.
Such feature can be implemented. Using componentWillReceiveProps() we can compare prevProps with props and update only WHS.Component parameters that were changed in React component.
Such updating methods can be:
.build() (When unique property of custom component was changed)
.wrap() (Any transformations were changed)
But overall, I would recommend updating component.native values specific to each property to increase performance.
At the moment
react-whsdoesn't support updating component properties from React properties. Changing them will result in a component rebuild.Such feature can be implemented. Using
componentWillReceiveProps()we can compareprevPropswithpropsand update onlyWHS.Componentparameters that were changed in React component.Such updating methods can be:
.build()(When unique property of custom component was changed).wrap()(Any transformations were changed)But overall, I would recommend updating
component.nativevalues specific to each property to increase performance.