DEV Community

Discussion on: Rails link to React (No API). Yes that's possible!

Collapse
 
leastbad profile image
leastbad

@jaredcwhite is 100% correct. React ends up getting used to do things that other techniques are far better suited to. To me, the original sin of API-first development patterns is that you're taking on this massive unnecessary technical burden, which is keeping track of and synchronizing state between the client and the server.

Would you not be happier (and done faster) if you used a tool like StimulusReflex which allow you to maintain your state on the server, while delivering reactive updates in response to user activity?