Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Duplicated playground logic between guide and playground, two copies diverged

Aperta
#1,407 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@fhammerschmidt ci sta già lavorando.

Dal 9/10/2026.

  • #1441 di @fhammerschmidt — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
babel, nodejs
Ambito
frontend, tooling

Direzione di ricerca

Start by comparing the version sort and filter in GuideCompilerSettings.res with Playground.res around lines 1660-1686, then the Executing arm of CompilerManagerHook.res, GuideRuntimeImport.res line 44, and TryRoute.res lines 15-16. The issue names the duplicated pieces but does not say which copy should win or what shared module should hold them, so agree that with the maintainers before editing. Done would mean one shared implementation with the existing playground and guide behaviour unchanged.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Version filter and sort (GuideCompilerSettings.res vs Playground.res:1660-1686; the playground's digit-concatenation sort misorders v12.10.0), import collector (GuideRuntimeTransform.res vs Babel.PlaygroundValidator), runtime-import mapping, console helpers, the TryRoute loader.

the runtime-import mapping in CompilerManagerHook.res (Executing arm) runs only on the playground's Run paths (Playground.res:1299,1347); the guide never reaches it and keeps its own copy, so only CdnMeta is actually shared (GuideRuntimeImport.res:44). Node.Process.Env has one consumer (TryRoute.res:15-16) and the guide re-declares the same variables.


Line numbers refer to master at ff3eac6e.

Lingua principale
MDX
Stelle
1.9k
Fork
261
Merge medio
3g 13h
PR unite (30g)
37

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rescript-lang/rescript-lang.org

Tutte le issue di rescript-lang/rescript-lang.org

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.