#help with catching messages

32 messages · Page 1 of 1 (latest)

spiral pier
#

If it didnt logged then you didnt send it

#

Or you send it before register a listener

#

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?

#

this is the whole article about ipc

#

it worked for recieve as well

#

because exposing .on doesnt work

glossy falcon
#

nice so the purpose of renderer is to repaint, and preload should load hevy computation?

spiral pier
#

No

#

Preload is bridge between web api and nodejs/electron api

glossy falcon
#

nice

#

k, what about hevy computation then, web workders?

spiral pier
#

Heavy computation is relatively value

#

But same as in browser

#

Or in nodejs

#

Depends on where you need it

spiral pier
#

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

spiral pier
#

Discord also use react

#

If you want you can get sources from browser assets

spiral pier
#

No

#

If you need bot use official bot api

hasty wadi
#

What does "having trouble" mean?