From f3676ff975b4696ff334f00ea4d81a216360ed1f Mon Sep 17 00:00:00 2001 From: clintharris <336401+clintharris@users.noreply.github.com> Date: Wed, 22 Nov 2023 01:19:54 -0500 Subject: [PATCH] docs: wording in IPC tutorial docs (#40555) fix: wording in IPC tutorial docs --- docs/tutorial/ipc.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/ipc.md b/docs/tutorial/ipc.md index 1ddbe4369091..b8b0bad4212f 100644 --- a/docs/tutorial/ipc.md +++ b/docs/tutorial/ipc.md @@ -280,8 +280,8 @@ selected file path in the `#filePath` element. ### Note: legacy approaches The `ipcRenderer.invoke` API was added in Electron 7 as a developer-friendly way to tackle two-way -IPC from the renderer process. However, there exist a couple alternative approaches to this IPC -pattern. +IPC from the renderer process. However, a couple of alternative approaches to this IPC pattern +exist. :::warning Avoid legacy approaches if possible We recommend using `ipcRenderer.invoke` whenever possible. The following two-way renderer-to-main