7 ms·
Most of the optimizations apply equally to calling into webview JS from a native application for something like dom manipulation. There is a wry example that us
by Evan-Almloff 1y ago
Most of the optimizations apply equally to calling into webview JS from a native application for something like dom manipulation. There is a wry example that uses the system webview in the repo: https://github.com/ealmloff/sledgehammer_bindgen/blob/master/examples/wry.rs https://github.com/ealmloff/sledgehammer_bindgen/blob/master...
- MuffinFlavored 1y agohttps://github.com/ealmloff/sledgehammer_bindgen/blob/master/examples/wry.rs#L383-L426 https://github.com/ealmloff/sledgehammer_bindgen/blob/master... This is fetch(), which I have to imagine is much less performant than Electron with a require('native-module')