sveltejs / svelte-devtools

A browser extension to inspect Svelte application by extending your browser devtools capabilities
https://chromewebstore.google.com/detail/svelte-devtools/kfidecgcdjjfpeckbblhmfkhmlgecoff
MIT License
1.49k stars 79 forks source link

Page near-blank after loading Svelte DevTools when using yrv router #20

Closed mikemaccana closed 4 years ago

mikemaccana commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Using Chrome 78.0.3904.108.

Before Svelte DevTools connecting:

image

After Svelte DevTools connecting:

image

I guess I expected to see the page and the content, and the props of each component. But there's just an <Unknown /> component for the router and that's it. I can't see the page.

As routers are pretty popular (yrv is new, but getting more popular) it'd be useful for them to work with Svelte DevTools.

RedHatter commented 4 years ago

An internal changed in Svelte 3.14 broke devtools. The recently released svelte-devtools 1.2.0 (approved in the chrome store today) should fix this issue.