Consider removing codemirror
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Start by locating the CodeMirror dependency and every place it is used in the samples, then inspect the build configuration around those references. Determine whether the samples can use plain HTML with build-time syntax highlighting, and consider the work done when CodeMirror is no longer needed without losing the current displayed code behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We don't allow editing so it's not entirely clear what the point of having codemirror (a large dependency) is here. We could switch to plain HTML and a syntax highlighter.
There's no rush. Just thinking out loud. Switching from one dependency (codemirror) to another like say (highlight.js is a different dependency though it would run at build time.
- Lingua principale
- TypeScript
- Stelle
- 2.2k
- Fork
- 357
- Merge medio
- 18h 40m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di webgpu/webgpu-samples
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
webgpu/webgpu-samples#571 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
webgpu/webgpu-samples#564 · 2 commenti ·
-
Make an Export to X option Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
webgpu/webgpu-samples#560 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
webgpu/webgpu-samples#542 · 9 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
webgpu/webgpu-samples#541 · 5 commenti ·
Tutte le issue di webgpu/webgpu-samples
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
TanStack/tanstack.com#1293 ·