yanns / play-react

Proof of concept of running react.js on the server side with play
42 stars 5 forks source link

Nashorn rendering #2

Open benmccann opened 9 years ago

benmccann commented 9 years ago

It would be interesting to have rending with Nashorn. I found another project which uses it here - https://github.com/ssorallen/react-play

yanns commented 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.

benmccann commented 9 years ago

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.

benmccann commented 9 years ago

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.