Development cycle recommendation for custom components

What do folks do to iterate on their custom components? I can get the sample built, do pip install, and bring up the dash app. What is the recommended workflow if I tweak my React code in the custom component? Do I have to run pip install again, etc? Are there dev workflow that I can just in place reload?

Hello @Joechan,

Welcome to the community!

For me, when I am working on a component that is not in the dash components, I just run npm run build in the directory I am working on. Then I test it with the usage.py file, when you make changes, you just npm run build again.

I make sure it is working the way I want before turning it into a package.

Let me know if this helps. :slight_smile:

Hi @Joechan

If you are just getting started writing custom components, You might find this article helpful.