Solve CORS once and for all with Netlify Dev

1 · · June 28, 2019, 10:21 p.m.
Access-Control-Allow-Headers and CORS Say you’re a budding young (or young-at-heart!) frontend developer. You’d really love to smush together a bunch of third party APIs for your next Hackathon project. This API looks great: https://icanhazdadjoke.com/api! We’ll build the next great Dad Joke app in the world! Excitedly, you whip up a small app (these examples use React, but the principles are framework agnostic): function App() { const [msg, setMsg] = React.useState("click the button") const...