erikringsmuth / app-router

Router for Web Components
https://erikringsmuth.github.io/app-router/
MIT License
610 stars 83 forks source link

HTML is not getting stamped on page the second time when page loads? #132

Closed devAtPolydeals closed 8 years ago

devAtPolydeals commented 8 years ago

In my app I have a link from main page to an FAQ page; all routing is done using app-router. Upon clicking faq it works perfect! However when I go back to main page and then click again for FAQ link the page renders nothing. But if i refresh the page then its fine.

To recreate do the following:

  1. Open https://sizzling-fire-7471.firebaseapp.com/dev/#/ and click the FAQ page link at bottom . You will see a list of Q & A
  2. Then click left arrow on top to go back to main page
  3. Now click FAQ link again and you will not see anything,but in the console you will see it fetching data.

Also, refreshing the page makes it okay.

Let me know if you need more information.

devAtPolydeals commented 8 years ago

This issue has now been resolved. It was due to a bug in firebase-collection. It was fixed at https://github.com/GoogleWebComponents/firebase-element/pull/42/files and will soon be merged.