docs: wording in IPC tutorial docs (#40555)
fix: wording in IPC tutorial docs
This commit is contained in:
parent
0b5fceb50e
commit
f3676ff975
1 changed files with 2 additions and 2 deletions
|
@ -280,8 +280,8 @@ selected file path in the `#filePath` element.
|
||||||
### Note: legacy approaches
|
### Note: legacy approaches
|
||||||
|
|
||||||
The `ipcRenderer.invoke` API was added in Electron 7 as a developer-friendly way to tackle two-way
|
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
|
IPC from the renderer process. However, a couple of alternative approaches to this IPC pattern
|
||||||
pattern.
|
exist.
|
||||||
|
|
||||||
:::warning Avoid legacy approaches if possible
|
:::warning Avoid legacy approaches if possible
|
||||||
We recommend using `ipcRenderer.invoke` whenever possible. The following two-way renderer-to-main
|
We recommend using `ipcRenderer.invoke` whenever possible. The following two-way renderer-to-main
|
||||||
|
|
Loading…
Add table
Reference in a new issue