Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

How to debug dash core components in Demo?


I’m again trying to customize the dash’s core components (checklist this time), and I came out with an error that shows up on runtime. So, when I run builder run demo and open localhost:9000, where the component should being displayed I got the following error instead: Cannot read property ‘props’ of undefined.
The problem here is that I can’t figure out which line is causing the error, is there anyway to gather it? I’ve only found this not-well promising issue related to this:
Alternatively, I’ve tried to create a test for my custom component in tests; but I don’t know how to run such test. builder runcheck` only shows a bunch of eslint errors not related to my source code.

My source code is here:

The best way I found to debug this is to use the browser developer tools.

1 Like