Discussion icon indicating copy to clipboard operation
Discussion copied to clipboard

How can I re initialize same components in different routes

Open jtundag opened this issue 8 years ago • 0 comments

Hello guys, I hope you can help me Scenario: I have a multi-step form, if the user clicks on the next button, the only thing that changes in the route is the id eg. form/step/:id, but whenever I have steps/routes that contains the same components as the previous one, it only calls the 'created' method of the components of the first, it doesn't call on the next one.

Is there a way to re-create/initialize the components every time i change routes? Thanks in advance.

jtundag avatar Dec 23 '16 14:12 jtundag