Skip to Content
0
Former Member
May 17, 2016 at 04:40 PM

When using the router, page reload problem.

741 Views

Now I'm using router with component.js and MyRouter.js file. However i have some problem.

First i click a page menu, it calls oninit() function correctly. but when i click a page menu at second times, onInit() function doesn't work.

How can i refresh page every time i click the page menu?