#help with catching messages
32 messages · Page 1 of 1 (latest)
Or you send it before register a listener
Context Isolation is a feature that ensures that both your preload scripts and Electron's internal logic run in a separate context to the website you load in a webContents. This is important for security purposes as it helps prevent the website from accessing Electron internals or the powerful APIs your preload script has access to.
have you read article i gave you?
ipcRenderer: {
send: ipcRenderer.send,
on: ipcRenderer.on,
// ... other methods you need
}
``` will not work
you able to send
but receiving will not
really
read the article
somehow it worked before?
Use the ipcMain and ipcRenderer modules to communicate between Electron processes
this is the whole article about ipc
it worked for recieve as well
because exposing .on doesnt work
nice so the purpose of renderer is to repaint, and preload should load hevy computation?
Heavy computation is relatively value
But same as in browser
Or in nodejs
Depends on where you need it
You read them one by one
I know the docs
And i know js
You can try to use search but it usually wont help if you dont know the basic
What does "having trouble" mean?