Global state management in T3.

Hi, this is probably a nooby question but would recommend me to use zustand in this case?:

I have a cart which lives on the Navbar.
Item Page has a „add to cart” button. I want to open the cart after clicking this button. This is a cart that lives in the database so I could maybe try open it onSuccess as it will be refetched after clicking the button, but it would also mean the cart would be open on initial render of the site :/

Cheers
Was this page helpful?