Use shared worker to avoid the warm up time when you open a new tab

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
fsharp
Domain
frontend, web-dev

Research direction

Start by locating the current worker implementation and the code that initializes it when a REPL tab opens. Check how browser tabs currently create workers, then verify that a shared worker can be reused across tabs without losing REPL behavior or the expected shared-URL workflow.

Written by the indexing model from the issue text.

Description

Sometimes you need to use multiple tabs in the REPL when you're trying different things or opening multiple shared URLs. In those cases, it's a bit tedious to wait the 5-6 seconds every time until being able to use the REPL.

It shouldn't be too difficult to turn the current worker into a shared worker so it can be reused in multiple browser tabs. I'll look into this.

Dominant language
F#
Stars
68
Forks
36
Avg merge
13h 1m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

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.

More from fable-compiler/repl

All issues in fable-compiler/repl

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.