Add a way to disable automatic compilation or/and customize the delay

Offen
#30 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript
Bereich
tooling

Rechercherichtung

Beginne damit, den debounced JSX-to-JS-Kompilierungspfad des Playgrounds und die vorhandenen Steuerelemente darum herum zu lokalisieren. Prüfe, wie die Verzögerung von 250ms konfiguriert ist, und definiere dann die Fertigstellung als Unterstützung für das Umschalten der automatischen Kompilierung, die manuelle Kompilierung und eine anpassbare Debounce-Verzögerung mit geeignetem Verhalten im Playground.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

good first issue

As of today the compilation of the JSX to JS happens as you type it with a debounced function of 250ms.

Watching people code in real time, this can be annoying because it yells errors all around before you are done typing.
One thing I'd like to see is an option to toggle automatic compilation and have a button to manually compile it.

Additionally what would be good is if we'd have a customized delay for the debounce function if automatic compilation is on.

Vorherrschende Sprache
TypeScript
Sterne
246
Forks
71
Ø Merge
5 Min.
Gemergte PRs (30 T.)
6

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus solidjs/solid-playground

Alle Issues in solidjs/solid-playground

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.