Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Turn Key Solution for ES6 (and Maybe React) in Rails
1 point by lsiebert on June 22, 2016 | hide | past | favorite
I am the sole back end developer for a number of rails applications at my companies very small SF office. I'd like to be able to support things like the spread operator in ES6, and ideally also JSX compilation for React, and make things easier on the front end dev.

Currently I'm looking at the following solutions, and I'm not sure which is the simplest/most robust

Browsify-rails Sprockets 4 Sprockets-es6 react-rails react-on-rails babel-schmooze-sprockets

There is also splitting out the front end into it's own separate repo and having a separate compilation/deployment scheme, and just using whatever I want (webpack etc) but this leads to issues deploying, and as I'm also our devops, I'm reluctant to rearchitect how we deploy while still trying to push new features and catch up on technical debt.

Thoughts?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: