Answer the question
In order to leave comments, you need to log in
What approach to implementation is more correct?
The subscription page, in which, when clicking on the subscription, we should get to the "order" checkout page - /checkout .
When we get to the checkout, we need to know which subscription (product) the user has chosen.
What do you think, what to choose for implementation and how would you do it, also note that we do not record in the database what the user has chosen before placing an order:
Answer the question
In order to leave comments, you need to log in
Personally, it seems to me that in a spa application, it is worth passing values using query only in cases of a public link. For example, a custom build of a computer that I want to share on a thematic forum. In other cases, it is better to create a basket model (store/localeStorage).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question