ericclemmons / ericclemmons/click-to-component

React 19 unsuported - Could not find React instance for element

Open
#99 5 comments 8 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.4k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
React 19 is not working, when I try to go to any component, I can see: Could not find React instance for element

**To Reproduce**
Steps to reproduce the behavior:
1. Install a React 18 project
2. Import component
3. Check that you can be redirected to vscode successfully
4. Upgrade to React 19
5. Check that you can't be redirected to vscode successfully

**Expected behavior**
It should behave like React 18 versions

**Screenshots**
Console showing:

image

**Additional context**
This might be helpful:
https://github.com/hand-dot/react-inspector/issues/9

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the redirect behavior in a React 18 project, then repeat it after upgrading to React 19. Read the linked react-inspector issue for related context. Done means selecting a component again redirects successfully to its source in VS Code under React 19.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
devtools, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.