I have the UX design in my project like suppose I have a Register page, so I have made a Register component with its html and css and given a state 'localhost:8080/register' i.e. '/register'as a route. On successfull registeration I want to display a different HTML template for register with some route stats as "/register/done" but here I donot want to make any new component, So is it possible to create a route without component. The second approach is I can replace the HTML template in the current component to show the successfull registration confirmation screen. So is it possible to change the HTML template dynamically or not. As I am using webpack, it is not possible I think.
If there is any other solution to show these two related routes with different HTML template and route then please share it here.
Thanks in advance!!