<div dir="ltr">I would say that it depends on the scale of your frontend at the moment. If you're building a web app which can function with just some generated HTML and the odd sprinkle of Javascript then jQuery is probably the way to go as you get all the benefits of Rails' gem ecosystem and years of tooling to build HTML quickly.<div><br></div><div>If you're building a rich application then you'll probably want the extra structure provided by something like React or Ember, but you'll pay the price in initial bootstrapping of your application, and being somewhat on the bleeding edge. You do get the advantage of a proper API backing everything though, which pays off rapidly as your application gets larger.</div><div><br></div><div>Finally, there's the option of having a REST API, and a Rails generated interface built on top of that. If you're web application is the only API client then I'm not sure I'd recommend that approach. If you need an API for other clients anyway then this can be a really nice way of working because every feature you build for any client requires API endpoints which can quite dramatically reduce the overheads in supporting the feature for other clients.</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 13 Jun 2016 at 09:47 gvim <<a href="mailto:gvimrc@gmail.com">gvimrc@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is turblinks/jQuery still the dominant approach to front-end development<br>
in the Rails community or is there a shift towards Ember/Angular/React<br>
backed by a Rails api?<br>
<br>
gvim<br>
<br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org</a><br>
Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/options.cgi/chat-lrug.org</a><br>
List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</blockquote></div>