ux icon indicating copy to clipboard operation
ux copied to clipboard

[LiveComponent] Prevent data-loading in child component

Open EikiProg opened this issue 3 years ago • 4 comments

Actualy if you rerender the child it trigger the data-loading for that child and not the parent, but if you rerender the parent all the childrens trigger the loading state and that wouldn't be correct for all use case.

Is there a way to prevent the loading state in a child component when the parent rerender ?

EikiProg avatar Aug 23 '22 11:08 EikiProg

Hmm. My instinct tells me that the default behavior should be the following:

When a parent component loads, it does NOT trigger the loading state in any child components.

So I would consider the current state a bug. PR welcome to fix that :). And if someone needs the opposite situation at some point in the future, we could discuss how to accommodate that.

weaverryan avatar Aug 23 '22 13:08 weaverryan

Hey, thanks for your report! There has not been a lot of activity here for a while. Is this bug still relevant? Have you managed to find a workaround?

carsonbot avatar Apr 26 '24 12:04 carsonbot

Could I get a reply or should I close this?

carsonbot avatar May 11 '24 07:05 carsonbot

Hey,

I didn't hear anything so I'm going to close it. Feel free to comment if this is still relevant, I can always reopen!

carsonbot avatar May 25 '24 14:05 carsonbot