Re: esx ScriptEngine + react.js

2017-08-17 Thread Adam Henderson
Hi Henry, I don't have a solution but check out this blog post which might help you, it looks like you might need some polyfills for nashorn to run react. http://winterbe.com/posts/2015/02/16/isomorphic-react-webapps-on-the-jvm/ Good luck. Adam. > On 17 Aug 2017, at 7:13 pm, Henry Saginor

esx ScriptEngine + react.js

2017-08-17 Thread Henry Saginor
Hi, I would like to run some server side react.js components in Sling. I was experimenting with the esx engine [1] which works like a NodeJs loader and allows you to load any valid Node module. I am able to run the demo examples that come with that bundle. So, I installed react npm module and