Closed cipiasentini closed 7 years ago
Hello, this is not a zerorpc specific question. I think you must look into web browser, page side JavaScript API.
On Thu, Oct 26, 2017, 06:05 Carlos notifications@github.com wrote:
Hi, I wanted to know how can I handle this problem. I want to be able to invoke a method to change the webpage content but without the whole page refreshing when it is done.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/0rpc/zerorpc-node/issues/93, or mute the thread https://github.com/notifications/unsubscribe-auth/AANMjPdZiy9RZTqCLlUbBrludYxYDmeKks5swIMhgaJpZM4QHiID .
It actually has to do with the way zerorpc handles the response, or does the execution. Here I uploaded a video of how my app is behaving and the code being used https://youtu.be/Gqo_QpsKMNU. If I comment out the part when I invoke the process inicializar
there is no refreshing
EDIT: sorry I didn't realize you were the creator, I'll try to look into the javascript part then. Thanks
I am just the maintainer of the node version. Note that zerorpc-node was written for nodejs. In what context are you running it? Could it be that zerorpc is raising an exception, and you have some sort of system that automatically refresh the page on error?
I've solved the issue.. It was so dumb of me, I have been using electron-reload for fast prototyping and my app every time it starts was changing a file (which was within the project folder) that was causing the refresh... You can mark it as solved :). Now I'm having another problem but this time is with the server not wanting to start when I package the electron app but I'll be reporting this issue somewhere else it's not the server scope. Thanks for your help
Ahah nice one. Small mistakes like that are always the worst to debug. Thank you for replying back here!
Hi, I wanted to know how can I handle this problem. I want to be able to invoke a method to change the webpage content but without the whole page refreshing when it is done.