3 ms·
> It’s traditional at least with web browsers to not send the fragment to the server. Ah, TIL, thanks! I meant more "why must the import syntax use specifical
by kortex 6y ago
> It’s traditional at least with web browsers to not send the fragment to the server.
Ah, TIL, thanks!
I meant more "why must the import syntax use specifically this scheme to denote versions". I guess backwards compat?
- yencabulator 6y agoImport paths are used to figure out where to fetch the source code from. To simplify a bit, if you see `example.com/foo/bar`, it works because there's an appropriate meta tag at https://example.com/foo/bar?go-get=1 https://example.com/foo/bar?go-get=1 . The import paths are pretty directly used as URLs.