« * K @yoav.ws

Jake Archibald @jakearchibald.com

2026-07-08 08:58 UTC

Right now, if you import something from JS, and the result is a 404 (or other not-ok status code), it fails the load & gives you nothing. I wonder with json imports, and maybe even text/byte imports, if that's the right pattern github.com/whatwg/html/...

Link: Should modules really be 'null' if the HTTP status code is not-ok? · Issue #12657 · whatwg/html (github.com/whatwg/html/issues/12657)

16 likes, 4 reposts, 5 replies

3 Next post4 More from @jakearchibald.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup