JavaScript’s Template Strings are Likely the Wrong Tool for Your Job I am very disappointed in how the official React documentation recommends we build URL strings to query APIs in JavaScript. I was reading about custom hooks and came across this: fetch(`/api/cities?country=${country}`) .then(response => response.json()) .then(json => { if (!ignore) { setCities(json); } }); This code works correct

