Every page load logs a Solid warning about an effect nobody owns
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start at apps/client/theme.js:34, the module-level createEffect(theme, …) added in commit 78722de, and read the root/ownership guidance in AGENTS.md plus any existing module-level effect in the client that already creates a root to copy its pattern. Reproduce with agent-browser open http://localhost:3917 then agent-browser console to see the [NO_OWNER_EFFECT] warning on a fresh store. Done means the effect is created inside an owner/root and the console is quiet on page load with nothing clicked.
Written by the indexing model from the issue text.
Description
Opening the page, with a fresh store and nothing clicked, logs [NO_OWNER_EFFECT] Effects created outside a reactive context will never be disposed. AGENTS.md says module-level effects need a root; the new theme code doesn't have one. Right looks like a quiet console, so the next warning that shows up is a real one.
Evidence:
apps/client/theme.js:34is a barecreateEffect(theme, …)at module level, added in 78722de (Cmd-K's Choose theme).- The warning's stack, captured with
console.warnwrapped via--init-script:createEffect … at http://localhost:3917/theme.js:34:1. agent-browser open http://localhost:3917thenagent-browser console→[warning] [NO_OWNER_EFFECT] …, once per page load.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 1
- Avg merge
- 14m
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oskarrough/ade
-
scout
Difficulty 1/5 Under an hour Newbie friendliness 70/100
oskarrough/ade#55 ·
-
scout
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
oskarrough/ade#53 ·
-
scout
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oskarrough/ade#51 ·
-
scout
Difficulty 3/5 1-2 days Newbie friendliness 64/100
oskarrough/ade#54 ·
Similar issues
-
Add: Drishya TVOpenchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
documentation enhancement first-time-contributor good first issue
Difficulty 1/5 Under an hour Newbie friendliness 84/100
SasanLabs/VulnerableApp#961 · 1 comment ·
Maintainers usually reply within 1 day