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://v8.dev/blog/cost-of-javascript-2019#json …pic.twitter.com/p0WICUm7zx
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
There should be a size threshold of some sort. It only really makes sense for “large” objects, like Redux stores.
what would be a good threshold in your opinion?
I'll just write them manually until then. <MyComponent data={JSON.parse('{"name": "Alican", "age": 28}')} style={JSON.parse('{"width": 800, "height": 600}')} />
Awesome!
Is it just a V8 thing or is it safe to apply to other browsers as well? Thanks :)
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.