Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
router-view rendering stops working after inner contents are replaced #3033
Steps to reproduce
What is expected?
After step #3 is performed, the router-view should render the content from the 2nd router-link.
What is actually happening?
While it is clear that the route in the URL browser bar changes, the router-view is not updated with the contents (the updated template) from the "vuerouter twitter" router-link.
After router-link is clicked, "twttr.widgets.load()" is called  which is supposed to replace all instances of ... with an iframe. For some reason this is disrupting the ability for the 2nd router-link to update the router-view with its template ().
Perhaps this is due to https://router.vuejs.org/guide/essentials/dynamic-matching.html#reacting-to-params-changes? If so, is there any way to force destroy and re-create the component?