S
S
string152018-01-26 21:17:33
React
string15, 2018-01-26 21:17:33

Routing in React, how to do it?

Hey! I can not understand how to implement routing. I ask for help)). If it were not for the query string, everything would be easier) There is a table component with data, the data is pulled up on componentDidMount, with such a query string localhost:3000/report?client=client1&year=2010. How to make routing in the same component, for example /balance, /account and so on?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question