From 72b6f313781962275bdeff452abe6abd57de8fd0 Mon Sep 17 00:00:00 2001 From: Maccesch Date: Wed, 6 Dec 2023 00:39:53 +0000 Subject: [PATCH] added ssr docs to use_web_notification --- src/use_web_notification.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/use_web_notification.rs b/src/use_web_notification.rs index 1b8ca89..44b52a6 100644 --- a/src/use_web_notification.rs +++ b/src/use_web_notification.rs @@ -36,6 +36,10 @@ use std::rc::Rc; /// # view! { } /// # } /// ``` +/// +/// ## Server-Side Rendering +/// +/// This function is basically ignored on the server. You can safely call `show` but it will do nothing. pub fn use_web_notification( ) -> UseWebNotificationReturn { use_web_notification_with_options(UseWebNotificationOptions::default())