Closed embiem closed 7 years ago
I wanted to share with you my approach to call JSX functions as an alternative to the "evalScript" function.
My "callScript" function enables:
This PR consists of:
PProPanel.jsx
With ES6 and promises, this would look even nicer. But to fit into this PProPanel example, I kept the general vanilla js style.
I wanted to share with you my approach to call JSX functions as an alternative to the "evalScript" function.
My "callScript" function enables:
This PR consists of:
PProPanel.jsx
With ES6 and promises, this would look even nicer. But to fit into this PProPanel example, I kept the general vanilla js style.