solidjs / solidjs/solid-playground

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

Open
#30 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
TypeScript
Stars
244
Forks
69
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the playground's debounced JSX-to-JS compilation path and the existing controls around it. Check how the 250ms delay is configured, then define completion as supporting automatic-compilation toggling, manual compilation, and a customizable debounce delay with suitable behavior in the playground.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.