shlogg · Early preview
Sinaptia @sinaptia_dev

Using React Components In Rails Views Without Going Full SPA

Integrating React with Rails: A simple library to mount React components in Rails views, reducing code repetition & improving team workflow.

Modern apps have highly dynamic interfaces: API calls through Ajax for updating parts of it, dynamic forms like wizards with several steps, and even forms that perform API calls (think of searching something), and so go further and even have routing (our very website!). Some of these modern interfaces are built with React. We like React because it’s simple, and because these dynamic interfaces are easy to build. But the React way of doing things requires that you have a Frontend (obviously built in React, think of create-react-app) and a Backend (that could be anything), ie, 2 separate parts o...