Hi, I am trying to connect my react app with sylius cart. I am using shop-api bundle for data, but I want to use native Sylius checkout process after my app formed cart, but problem is that I don’t have website cart token. It appears only after show product page displayed to user. I can parse this token in my js from such page, but I think it is kind of dumb. When I trying to create new cart in controller with OrderItemController::addAction it creates form but without _token value in session. Any thoughts?
UPD solved - forgot to make $form->renderView(), not sure is this good enough.