ardatan / ardatan/graphql-tools
[website] switch between esm and cjs examples
Open
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 830
- Avg merge
- 10h 59m
- Merged PRs (30d)
- 45
Description
Many examples are CJS only, it would be neat if we had a switch component where you can show examples either in cjs or esm. https://www.graphql-tools.com/docs/documents-loading
Contributor guide
Research direction
Start with the linked documents-loading page and inspect how its examples are authored and rendered. Determine where a CJS/ESM switch could apply across the examples; done means readers can switch between both module styles and see the corresponding code consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100