thetarnav / solid-devtools

Library of developer tools, reactivity debugger & Devtools Chrome extension for visualizing SolidJS reactivity graph
https://chrome.google.com/webstore/detail/solid-devtools/kmcfjchnmmaeeagadbhoofajiopoceel
MIT License
536 stars 21 forks source link

detector error #285

Open j4k0xb opened 9 months ago

j4k0xb commented 9 months ago

This error happens on many sites like https://youtube.com:

detector.ts-ca0eb97c.js:12 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'firstElementChild')
    at detectSolid (detector.ts-ca0eb97c.js:12:37)
    at detector.ts-ca0eb97c.js:66:1

image

Seems like the extension runs too early, before body exists

thetarnav commented 9 months ago

Yeah I've noticed that as well, solid detection causing exceptions on non-solid pages. Thanks for reporting though.