preactjs / preactjs/preact-devtools

Hooks not detected

Open
#463 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
345
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Come across a case where for some reason no hooks are detected.

Codesandbox: https://codesandbox.io/s/submit-sandbox-10-13-0-forked-9hpkmu?file=/src/index.js:0-32

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.

Research direction

Reproduce the issue using the linked CodeSandbox, starting with /src/index.js and its submit-sandbox example. Trace how the browser extension observes the running application and identify why hooks are not detected in this case. Done means the reproduced hooks appear in the devtools inspection view without breaking existing detection.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.