React With CORS: The How and the Why

Make a request to a server on a different domain

Gernot Gradwohl
Better Programming
Published in
4 min readApr 15, 2020

--

Metal Gears Connecting and Achiving more
Metal Gears Connecting —Photo by Bill Oxford on Unsplash.

Like many others, I have recently started to build something. I decided to create a web app that scratches an itch I have felt for quite some time. Also, I wanted to increase my knowledge of React and some core Ruby libraries. Therefore, I am implementing this as a React SPA and the server is a Rack app. I am not using…

--

--

Passionate programmer. Love the elegance of Ruby. Recently started to dig into functional programming with Elixir.