Open benmccann opened 9 years ago
I'd prefer not use Nashorn directly, as it would block one thread for this.
I'd like to check if trireme or js-engine runs with Nashorn.
Trireme doesn't support Nashorn. The Trireme maintainer started a new project, Rowboat, for Nashorn support though I'm not sure how actively he's working on it as I don't see any commits for the past few months.
I looked at this a bit more and it seems the best way forward would probably be to add Nashorn support to js-engine. Trireme/rowboat seem way overkill since we don't need Node support to run React. I filed a bug at js-engine for Nashorn support.
It would be interesting to have rending with Nashorn. I found another project which uses it here - https://github.com/ssorallen/react-play