DEV Community

irfanhfzh
irfanhfzh

Posted on

How to get data from Component to Another Component with useState

I want to get the data in the UserOrderCartPage and move it to the UserOrderPage but the only thing that moves is the state description, everything else is undefined..

How can I get all the data that is in the UserOrderCartPage and to be entered into the UserOrderPage please help…

Top comments (0)