I have setup a SlidingTabNavigation with 2 tabs. On the first tab I am displaying a custom badge with the value derived from an array (openleads) which is passed as props to the component through redux store. But when this array is updated the badge value is not changing. The renderHeader method does not get called when the props update. Can someone help me out on this.
Hi,
I have setup a SlidingTabNavigation with 2 tabs. On the first tab I am displaying a custom badge with the value derived from an array (openleads) which is passed as props to the component through redux store. But when this array is updated the badge value is not changing. The renderHeader method does not get called when the props update. Can someone help me out on this.
Here is the component class: