Consider using JSON.parse
? Perf tip: if your web app ships large JSON-like configuration as JavaScript object literals, consider using JSON.parse instead. It’s much faster, especially for cold loads! https://t.co/C0oQ4BLnfz pic.twitter.com/p0WICUm7zx
— Mathias Bynens (@mathias) June 25, 2019
Read more [twitter.com]