Open trusktr opened 5 years ago
Loving the project!
Some examples make the editor freeze, because it is updating the preview on every key stroke it seems like.
It may be a good idea to debounce (or throttle) updates to 100ms.
Another nice feature could be to provide a "run" or "play" button so that updates happen when desired.
And one more feature could be a checkbox that enables autorun, where when turned has to click "run".
Cool, got debounce, and a rerun button working on my fork. Needs some styling though, very bad at the moment.
Loving the project!
Some examples make the editor freeze, because it is updating the preview on every key stroke it seems like.
It may be a good idea to debounce (or throttle) updates to 100ms.
Another nice feature could be to provide a "run" or "play" button so that updates happen when desired.
And one more feature could be a checkbox that enables autorun, where when turned has to click "run".