DEV Community

mohitmehta1996
mohitmehta1996

Posted on

Update Badge in React Native Stack Navigator Header

I have added badges in react native stack navigator for cart and wish-list count. These counts must be fetched from API on every screen change or back event. I also want to update these count on "add to cart" and "add to wish-list" event from Product screen.

Can anyone suggests me how to do this ? Any reference code or article will be very helpful.

Thanks in Advance.

Top comments (0)