← Atgal į funkcijas
Pro

Komponentų detektorius

Komponentų detektorius automatiškai identifikuoja kokį frontend karkasą naudoja svetainė ir atskleidžia pilną komponentų medį.

Ever wondered what framework a website is built with? Or wanted to see how a complex UI is decomposed into components? Component Detector answers both questions instantly. It scans the page for framework-specific signatures (React fiber nodes, Vue component instances, Angular zone markers, Svelte component metadata) and identifies the framework, its version, and the complete component tree. For React and Vue, it goes further — showing component props and state values so you can understand what data drives each piece of the UI. Click any component in the tree to highlight the corresponding DOM element on the page, or click an element on the page to locate its component in the tree. It's like React DevTools or Vue DevTools, but built into your page as a lightweight floating panel.

Tiesioginė peržiūra
example.com/app
Detected page components
<App>
<Navbar>
<Dashboard>
<StatsCard>
<StatsCard>
Component Detector
R
React
v18.2.0 detected
▼ App
▼ Navbar
Logo
NavLinks
▼ Dashboard ● selected
StatsCard ×2
ChartWidget
RecentActivity
Props
title"Overview"
loadingfalse
columns2
Pagrindinės savybės

Automatic Framework Detection

Detects React (including Next.js, Gatsby, Remix), Vue (including Nuxt), Angular, Svelte (including SvelteKit), Preact, Solid, and other frameworks automatically. Shows the framework name, exact version number, and rendering mode (client-side, SSR, or hybrid).

Full Component Tree

Renders the complete component hierarchy in a collapsible tree view. See how the top-level App component contains a Navbar, which contains NavLinks, which contain individual Link components. The nesting depth and parent-child relationships are crystal clear.

Props & State Inspection

For React and Vue components, view the current props and state values passed to each component. See that the Dashboard component receives title="Overview", loading=false, and columns=2. Invaluable for understanding data flow.

Two-Way Element Linking

Click any component in the tree panel to highlight its corresponding DOM element on the page with a colored overlay. Or click any element on the page to find and select its parent component in the tree. Navigate in whichever direction is natural.

Component Count & Statistics

See the total number of components rendered on the page, how many are unique vs repeated instances, and which components appear most frequently. Useful for understanding page complexity and identifying reuse patterns.

Works on Production Sites

Detects frameworks even on minified production builds. React's fiber tree, Vue's __vue__ markers, and Angular's ng attributes persist in production mode — Component Detector reads them regardless of build configuration.

Dažni naudojimo atvejai

Identifying a Website's Tech Stack

Visit any website and instantly know whether it's built with React, Vue, Angular, or Svelte — including the exact version. Combine with Site Stack for a complete technology audit including CDN, analytics, and CMS information.

Understanding Component Architecture

Studying how production applications decompose their UI into components. See how Stripe structures its pricing page, how Linear organizes its dashboard, or how any well-built app separates layout, navigation, and content into components.

Debugging Data Flow Issues

A component isn't rendering correctly? Inspect its props and state to see what data it's actually receiving. Compare expected values against actual values to identify where the data flow breaks — without console.log statements.

Interviewing & Learning

Preparing for a frontend interview? Browse production sites to see real-world component patterns — container/presentational splits, render prop usage, context providers, and HOC wrappers are all visible in the component tree.

Comparing Framework Approaches

Visit similar products built with different frameworks and compare their component structures. See how a React app vs a Vue app approaches the same UI pattern — navigation, forms, data tables, modals — and understand the architectural differences.

Kaip naudoti
1

Activate Component Detector

Open the DevSuite Pro floating dock and click the Component Detector icon. The tool scans the page DOM for framework-specific markers and builds the component tree.

2

View Framework Information

The panel header shows the detected framework (React, Vue, Angular, Svelte), its version, and the rendering mode. If no framework is detected, it reports the page as vanilla HTML/CSS/JS.

3

Browse the Component Tree

Expand and collapse components in the tree to explore the hierarchy. Component names appear with their nesting depth indicated by indentation. Repeated components show an instance count.

4

Inspect Props & State

Click any component in the tree to see its current props and state values in the details section below. For React: props, state, and hooks. For Vue: props, data, and computed properties.

5

Click to Highlight on Page

Click any component to highlight its corresponding DOM element on the page with a colored border and semi-transparent overlay. Click an element on the page to locate it in the tree.

Pasiruošę išbandyti? Komponentų detektorius?

Įdiekite „DevSuite Pro“ nemokamai ir atrakinkite 39+ kūrėjų įrankius savo naršyklei.

Pridėti prie Chrome Pridėti prie Edge Pridėti prie FireFox