From 271589b452080d53bd556e6c5d9bf3de6280ff15 Mon Sep 17 00:00:00 2001 From: Matvei Andrienko Date: Wed, 24 Jul 2024 14:20:32 +0200 Subject: [PATCH] docs: update docs --- .../docs/reactnative/03-core/03-calling-state-and-lifecycle.mdx | 2 +- .../docs/React/02-guides/03-calling-state-and-lifecycle.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native-sdk/docusaurus/docs/reactnative/03-core/03-calling-state-and-lifecycle.mdx b/packages/react-native-sdk/docusaurus/docs/reactnative/03-core/03-calling-state-and-lifecycle.mdx index 6d3e616e82..d350ec8fc0 100644 --- a/packages/react-native-sdk/docusaurus/docs/reactnative/03-core/03-calling-state-and-lifecycle.mdx +++ b/packages/react-native-sdk/docusaurus/docs/reactnative/03-core/03-calling-state-and-lifecycle.mdx @@ -70,7 +70,7 @@ useEffect(() => { }, [callType, callId]); ``` -Once the call has been disposed of, it can no longer be used. However, you can get a new call instance with the same type and id. In practice, this is rarely an issue when you're using the pattern above. +To join the same call again, you can reuse the same call instance, or create a new one using `client.call(type, id)`. ## Calling State diff --git a/packages/react-sdk/docusaurus/docs/React/02-guides/03-calling-state-and-lifecycle.mdx b/packages/react-sdk/docusaurus/docs/React/02-guides/03-calling-state-and-lifecycle.mdx index 7e4e0ba5d2..7b9200b433 100644 --- a/packages/react-sdk/docusaurus/docs/React/02-guides/03-calling-state-and-lifecycle.mdx +++ b/packages/react-sdk/docusaurus/docs/React/02-guides/03-calling-state-and-lifecycle.mdx @@ -70,7 +70,7 @@ useEffect(() => { }, [callType, callId]); ``` -Once the call has been disposed of, it can no longer be used. However, you can get a new call instance with the same type and id. In practice, this is rarely an issue when you're using the pattern above. +To join the same call again, you can reuse the same call instance, or create a new one using `client.call(type, id)`. ## Calling State