-
they re working well in most cases really pub struct Contexts<'l> {
pub ctx_0: &'l Signal<i32>,
pub ctx_1: &'l Signal<i32>,
// ...
} the choices now are using got a solution for my project with rrevenantt/better_any but far from elegant. still looking for if theres a better way... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi there sorry for taking so long to answer. The recommended pattern is to use |
Beta Was this translation helpful? Give feedback.
Hi there sorry for taking so long to answer. The recommended pattern is to use
RcSignal
. Note that theclone()
s are not actually necessary becauseuse_context()
returns a reference so you can just hold a&RcSignal
which isCopy
.