Why are my dcc components that much faster than my dmc components?

Hi,

I try to load data to 20 dcc dropdowns and 20 dmc selections.

The Callbacks are triggered through a button. Two different callbacks are used.

Those two callbacks just return the value for each 20 dropdown/select components.

Why are my dcc components (dcc.Dropdown) that much faster than my dmc components (dmc.Select)?

Is there any work-around to improve speed?

ezgif.com-video-to-gif

Thanks,
Alex

Hi @alexander2 welcome to the forums.

I suppose the dcc components are executed first. Or do you set this up so that the callbacks run in parallel?

Could you post some code along with the numbers so that we can reproduce them? :slight_smile:

Hello @alexander2,

This is due actually to the Mantine Provider, each component will query what its style should be from the provider. If you arent using a Mantine Provider, then idk, haha.

I do have a work around, and it is to style the components yourself, haha. XD