-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the prod distribution of React instead of dev in the CDN example #3402
Conversation
|
we are already doing this in #3380 |
thanks, though! |
Maybe I don't understand it fully, but that PR is for the The reason for this PR is there are GraphQL frameworks out there like strawberry and graphene-django that serve GraphiQL and use the CDN example here as reference. Because of this sometimes they just copy paste and ended up shipping with react development which is 10 times the size of Maybe it's worth changing here too? |
does https://graphiql-dev.netlify.app/webpack not work? what is the purpose in particular? |
@acao it seems to me that @kiendang stated the problem quite clear:
The choice of the
|
oh this is for the cdn example! that makes sense |
really, we should be showing how to use |
89716dd
to
c495e8b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3402 +/- ##
=========================================
+ Coverage 0 67.28% +67.28%
=========================================
Files 0 121 +121
Lines 0 7007 +7007
Branches 0 2261 +2261
=========================================
+ Hits 0 4715 +4715
- Misses 0 2275 +2275
- Partials 0 17 +17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated other examples too
No description provided.