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
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.
The text was updated successfully, but these errors were encountered:
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 compareprevProps
withprops
and update onlyWHS.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.The text was updated successfully, but these errors were encountered: