Nikolai Abdrafikov

Results 4 comments of Nikolai Abdrafikov

You can't use `require` in browser javascript (aka UI Thread), but you can in Node Thread. More here: https://deskgap.com/architecture/. There is an example of code in issue #34 comments.

I had to move 'node' code to separate module to invoke it from renderer: ```js // ./node.js exports.coolNodeFunction = async function (argument) { return 'from node'; }; ``` ```js //...

For me, making sure input had `width:100%` fixed the problem: `