Currently, because I didn't know how to do it, the code is full of generic Fn() -> String implementations which accept a function that returns a String. This was done to accept translatable reactive strings, but there is a better way of do it...
Just use Signal::derive, probably returning that in the move_tr! macro, and make the related components accept ReadSignal<String>.
Currently, because I didn't know how to do it, the code is full of generic
Fn() -> String
implementations which accept a function that returns a String. This was done to accept translatable reactive strings, but there is a better way of do it...Just use
Signal::derive
, probably returning that in themove_tr!
macro, and make the related components acceptReadSignal<String>
.