0

I have a page/register. After the user fills in their username and password on the page, I want to redirect them to another page, /new-user, where they can fill the basic information about them. The submit button on the second page will call the API to create a new user.

In React, this is easy with react-dom-router. How do I do the same with Next.js? This Answer provided a solution with URL queries, but I don't want the user to see ?password=NextJSisHard in the URL.

0 Answers0