Skip to content

Commit 4d348e1

Browse files
authored
Add Notes from June WG (#162)
1 parent 6aeafc2 commit 4d348e1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

notes/2025/2025-06.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# GraphQL WG Notes - June 2025
2+
3+
**Watch the replays:**
4+
[GraphQL.js Working Group Meetings on YouTube](https://www.youtube.com/playlist?list=PLP1igyLx8foHghwopNuQM7weyP5jR147I)
5+
6+
- Discuss optimal JavaScript module design (15m, Jayden).
7+
- Jayden: full article with “blow-by-blow” is at https://jaydenseric.com/blog/optimal-javascript-module-design
8+
- Jayden: It is ok to use a single named export, but it’s slightly more optimal to use a default for minification purposes.
9+
- Jayden: current barrel file use means everything is included when anything is included
10+
- Denis: might you not get more waterfalls with this approach, especially if we are very strict with one export per file, meaning hundreds of files.
11+
- Jayden: I have experience doing this with multiple production systems with good time savings
12+
- Jayden: this is an opportunity now that we are moving to esm to make it actually work for those not using bundlers
13+
- Benjie: what about discoverability, in terms of finding the functions available?
14+
- Jayden: you can get the same discoverability not in the import { ... } but in the from ‘/graphql/....’
15+
- Yaacov: would you want to show us what this would look like in a PR?
16+
- Jayden: work on this would require kind of locking the code base, because all other PRs would have to rebase, and this PR would be incredibly difficult to merge would
17+
- Denis: I found a package which actually shows the waterfall, could you comment on whether 140 files over the browser would be a problem, because that’s what I am envisioning, although I cannot be sure whether it would be the same after the refactor.
18+
- Jayden: demos his web site showing indeed many files, but all the code is used (except react-dom, and things are snappy.
19+
- Benjie: from chat: jscodeshift may help people upgrade
20+
- Jayden: action item => create an issue

0 commit comments

Comments
 (0)