Item logo image for MJ Component to Code

MJ Component to Code

ExtensionDeveloper Tools2 users
Item media 5 (screenshot) for MJ Component to Code
Item media 1 (screenshot) for MJ Component to Code
Item media 2 (screenshot) for MJ Component to Code
Item media 3 (screenshot) for MJ Component to Code
Item media 4 (screenshot) for MJ Component to Code
Item media 5 (screenshot) for MJ Component to Code
Item media 1 (screenshot) for MJ Component to Code
Item media 1 (screenshot) for MJ Component to Code
Item media 2 (screenshot) for MJ Component to Code
Item media 3 (screenshot) for MJ Component to Code
Item media 4 (screenshot) for MJ Component to Code
Item media 5 (screenshot) for MJ Component to Code

Overview

Click an element and open the source of the React component that rendered it in your editor.

Stop hunting for the file that renders the thing you're looking at. MJ Component to Code lets you click any element on a React page and jumps straight to the component that rendered it — in your editor, at the right file and line. HOW IT WORKS 1. Open your app (local dev server or any site you own), click the toolbar icon and switch on "Enable on <site>". Chrome asks for access to that site only. 2. Press Cmd+Shift+X on macOS / Alt+Shift+C on Windows and Linux (or click "Pick element"). 3. Hover: a label shows the component name and its file:line. Click: the file opens in your editor. FEATURES • Click opens the component definition; Alt+click opens the JSX call site in the parent component. • Owner chain in the popup: every component from the clicked element up to the root, each with Open, Open call site and Copy path. • Right-click any element → "Open React component source" or pick any component from the owner chain. • Opens files in VS Code by default; other desktop editors that support file links can be chosen in the options. You can also let your dev server open the file through its open-in-editor endpoint, which avoids the browser's "open external application" prompt. • Workspace roots per site and regex path rewrite rules for monorepos, Docker containers and remote dev setups. • Resolution details (strategy, mapped path, line, column, raw location) to debug tricky source maps. • English and Português (Brasil) interface. SUPPORTED SETUPS • React 16, 17 and 18 development builds. • React 19.1+ development builds, resolved through the source maps your dev server already serves. • Production builds, with an optional companion Vite plugin that adds source attributes at build time. • Works with common build tools, as long as they produce a React development build or source maps. PRIVACY • The extension does nothing until you enable it for a site, and only that site gets access. • No analytics, no tracking, no accounts, no remote code. • Settings are stored locally on your machine and are never synced or sent anywhere. • The only network requests go to the site you enabled (to read its JavaScript modules and source maps) and, if you choose it, to your dev server's open-in-editor endpoint. The first time a file opens, Chrome asks whether it may open your editor ("Open Visual Studio Code?"). Allow it once and you're set.

Details

  • Version
    0.1.0
  • Updated
    November 18, 2026
  • Offered by
    marcos.januario.digital@gmail.com
  • Size
    112KiB
  • Languages
    2 languages
  • Developer
    Email
    marcos.januario.digital@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

Manage extensions and learn how they're being used in your organization
The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes
Search
Clear search
Close search
Google apps
Main menu