electronmon icon indicating copy to clipboard operation
electronmon copied to clipboard

expose reload events via API for retaining SPA state

Open Awendel opened this issue 3 years ago • 0 comments

most sophisticated Electron apps are built in a SPA kind of manner, hence they expose various views just using Client logic.

Often when working on a given view & electronmon reloads the window, that view is lost & one has to manually navigate back to it.

It would be good if the module would expose an API for handling such things, in a manner like:

electronmon.on("reload", ()=>{//custom reload logic})

so one can then insert ones own navigation / routing logic to the last view one worked on.

Awendel avatar Sep 25 '21 10:09 Awendel