Skip to content

Commit

Permalink
docs: wording in IPC tutorial docs (electron#40555)
Browse files Browse the repository at this point in the history
fix: wording in IPC tutorial docs
  • Loading branch information
clintharris authored Nov 22, 2023
1 parent 0b5fceb commit f3676ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial/ipc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3676ff

Please sign in to comment.