2 ms·
not mentioned in the article, but my favorite console trick is monitorEvents(elt) https://twitter.com/htmx_org/status/1455242575363723265 https://twitter.co
by recursivedoubts 5y ago
not mentioned in the article, but my favorite console trick is
monitorEvents(elt)
https://twitter.com/htmx_org/status/1455242575363723265 https://twitter.com/htmx_org/status/1455242575363723265
hugely helpful when debugging event-driven systems like htmx or hyperscript
- mkl 5y agoAnd unmonitorEvents(elt) to turn it off again. Monitoring every event is pretty noisy, so you can choose what to monitor with a second parameter: https://briangrinstead.com/blog/chrome-developer-tools-monitorevents/ https://briangrinstead.com/blog/chrome-developer-tools-monit... It would be nice if this made live expressions or something instead of filling up the console.