IPC Connection
Unanswered
Siamese posted this in #help-forum
SiameseOP
Hi, I want to connect to an external server using IPC, I decided to use net-ipc. I got to the point that I should run the ipc in a custom server.js, but now I'm stuck at figuring out how to pass data between page and the data I have from ipc, I don't want to use a http API to pass it around, but rather I would prefer to directly access a variable which I would set in server.js. Does anyone know how can I do that? Right now I want to use getStaticProps as currently I'm implementing stats on the main page (I know I can use http API for that but I need the ipc to get other stuff that will be requested pretty often and I feel like ipc is a better solution here)
1 Reply
SiameseOP
Bump