{"repo":"thoughtbot/superglue","free":true,"listed":false,"github":"https://github.com/thoughtbot/superglue","clone":"git clone https://github.com/thoughtbot/superglue.git","description":"A productive library for Classic Rails, React and Redux","language":"JavaScript","stars":610,"topics":["reactjs","rails","ruby","redux","react-redux","javascript","ruby-on-rails","webpack","ruby-gem","npm-module"],"license":"MIT","category":"productivity","readme_excerpt":"Superglue Use classic Rails to build rich React Redux applications with NO APIs and NO client-side routing . Superglue makes React and Redux as productive as Hotwire, Turbo and Stimulus. Its inspired by Turbolinks and designed to feel like a natural extension of Rails. Enjoy the benefits of Redux state management and React components without giving up the productivity of Rails form helpers, UJS, tag helpers, flash, cookie auth, and more. No APIs Instead of APIs, Superglue leans on Rails' ability to respond to different mime types on the same route. In a Superglue application, if you direct your browser to /dashboard.html , you would see the HTML version of the content, and if you went to /dashboard.json you would see the JSON version of the exact same content down to the footer. The end result would be something like this: Powered by Classic Rails Superglue leans on Rails. Features like the flash, cookie auth, and URL helpers continue to be useful. Here's a look at the directory structure of a typical Rails application with Superglue. PropsTemplate Powering the JSON responses is PropsTemplate, a diggable JSON templating DSL inspired by JBuilder. With PropsTemplate you can specify a path of the node you want, and PropsTemplate will walk the tree to it, skipping the execution of nodes that don't match the keypath. All together now! Superglue comes with batteries that bring all the above concepts together to make building popular SPA features easy, painless, and productive. SPA ","default_branch":null,"files":null,"tree":[],"storefront":"/r/thoughtbot","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thoughtbot/superglue/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}