K
K
Kappy2018-12-03 10:17:40
JavaScript
Kappy, 2018-12-03 10:17:40

How to implement the transition?

There is a form on one page. Json comes from the server and json comes back, so after that you need to display a page with the results (one more json should come).
How to implement such transitions correctly? react router? Or just change the state so that the component with the results is rendered. No need to elaborate, just point me in the right direction. Thanks in advance !

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2018-12-03
@KappyJS

Everything depends on the task. If you need to show the page in a different way, then use the router, if not, then state.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question