How to quickly debug the dash component encapsulation process?

Encapsulating components in Dash is quite convenient. I have also tried encapsulating myself, dash-color based on react-color, and dash-vega, which I temporarily added clickData and hoverdata events on top of dash-alternative-viz. However, during testing, I have to re-run npm run build every time I use console.log(), and this process is quite painful (because it’s very slow). Is there any good solution to this? I’m completely unfamiliar with React , I’m writing it with the help of