4 ms·
I love how Browsers & Deno have shown how we can do dependency management using urls containing code (ESM). This is a huge step forward. This makes me think, i
by sktrdie 6y ago
I love how Browsers & Deno have shown how we can do dependency management using urls containing code (ESM). This is a huge step forward.
This makes me think, is file-based code-split strategy enough?
What if we'd put code (not data) behind GraphQL and request only the actual piece of code we need to use?
import { foo } from 'https://graphql/ https://graphql/{ give: { me: { foo }}}'
- brabel 6y agoJust `import { foo } from 'https://graphql/'` https://graphql/'` is enough for that.