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?

Hi.

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: https://github.com/FormidableLabs/component-playground/issues/13
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: https://github.com/Akronix/dash-core-components/tree/checklist-container

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

1 Like