Spectory Blog

Angular 2 with Rails and Webpacker

By Amitai B, Nov 19 2017

I love Rails, I think it’s the best web development platform, at least from a developer point of view (DX). But it is not perfect. One of its major disadvantages is when you try to use it with one of new modern JavaScript framework (React, Angular, Vue…). There is no “Rails” way to do it. You need to start messing with configurations and settings, all the things that Rails trying to avoid. Writing a web application in Rails traditional way would be using ActiveViews, and add a little JQuery when you need JavaScript in the client. But when You want to write a single page application (SPA), it’s just not good enough.

Read More