O
O
Oversec2017-03-13 14:14:15
Ruby on Rails
Oversec, 2017-03-13 14:14:15

How to build a React+redux+RubyOnRails app?

The project is not small and, based on past experience in writing web applications, I decided to do everything right right away and chose such a React + redux + RubyOnRails technology stack for myself. But in the course of development, the question arose, how to synchronize the actions of the backend and frontend? In one project, they simply separated the logic and used middleware for .fetch () data from the Redux side and sent responses in the form of json from the server side, I thought it might be worth completely separating the logic and switching Rails to api mode? Maybe someone will share their experience, I don’t want to complicate the project at the stage of building the architecture ...
UPD: While we are using cells, each major react component (chat, profile, etc.) is a separate cell that I connect to the view. Or is it better to use a complete React app?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question