Function use_share_i18n
pub fn use_share_i18n(i18n: impl FnOnce() -> I18n)Available on crate feature
i18n only.Expand description
Provide an existing I18n to descendant components.
This is useful for sharing the same global state across different parts of the component tree
or across multiple windows.