korrents

korrents · piece

Importing vs fetching JSON

Jake Archibald · 22 Oct 2025

Read the piece on jakearchibald.com ↗

1 korrent from this piece ↓

Jake Archibald did not write this page.

Every claim below was made in this piece, quoted word for word and numbered in the order the piece makes them, so you can read it there rather than take our word for it. The sentence above each quote is our reading of the claim, not their wording. Each quote was checked against a stored copy of the page at build time; where the two differ, the quote is the fact.

  1. I'm glad native JSON importing feature exists, but it should be used with care, and not as a blanket replacement for fetch()ing JSON.

Keep reading