How to transfer information between react and playcanvas with zustand?

How to transfer information between react and playcanvas with zustand?