Replies: 2 comments 1 reply
-
I understand now that no, because |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you mean: @rearchWidget
Widget myWidget(WidgetHandle use) {
use(aCapsule);
use(aCapsule);
use(aCapsule);
return Placeholder();
} Then that's fine/supported. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes I get to the situation where I'm using the same capsule multiple times with the same
WidgetHandle
instance. In my case is thelanguageCapsule
to do some translations.Is this bad? Should I pass down the value via function parameter instead using it multiple times? Will it result in multiple rebuilds when the readed capsule rebuilds?
Beta Was this translation helpful? Give feedback.
All reactions