Answer the question
In order to leave comments, you need to log in
How to do routing for an online store?
Since the online store will be on react, then the 1st page will be enough, I thought. Well, if you follow a direct link to the product, then how to be? I thought about making several page template files, but then how can I connect React there, can I pass parameters to it?
Answer the question
In order to leave comments, you need to log in
You connect React 1 time, you have a lot of component template files, react-router is responsible for switching between them. Question about this?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question