pub fn create_signal_from_rc<T>(cx: Scope<'_>, value: Rc<T>) -> &Signal<T>
Expand description

Create a new Signal under the current Scope but with an initial value wrapped in a Rc. This is useful to avoid having to clone a value that is already wrapped in a Rc when creating a new signal. Otherwise, this is identical to create_signal.