Komponentų detektorius automatiškai identifikuoja kokį frontend karkasą naudoja svetainė ir atskleidžia pilną komponentų medį.
Ar kada nors susimąstėte, kokiu framework'u sukurta svetainė? Ar norėjote pamatyti, kaip sudėtinga vartotojo sąsaja suskaidyta į komponentus? Component Detector akimirksniu atsako į abu klausimus. Jis nuskaito puslapį ieškodamas konkrečiam framework'ui būdingų požymių (React fiber mazgų, Vue komponentų egzempliorių, Angular zonos žymeklių, Svelte komponentų metaduomenų) ir nustato framework'ą, jo versiją bei visą komponentų medį. React ir Vue atveju įrankis eina dar toliau — parodo komponentų props ir state reikšmes, todėl galite suprasti, kokie duomenys valdo kiekvieną sąsajos dalį.
Spustelėję bet kurį komponentą medyje, paryškinsite atitinkamą DOM elementą puslapyje, arba spustelėję elementą puslapyje — surasite jo komponentą medyje. Tai tarsi React DevTools ar Vue DevTools, tačiau integruota tiesiai į jūsų puslapį kaip lengvas plaukiojantis skydelis, veikiantis be poreikio kiekvienam projektui diegti atskirą, tam framework'ui skirtą plėtinį.
Aptikimas veikia net minifikuotose, produkcinėms sąlygoms suglaudintose svetainėse, kur komponentų ir kintamųjų pavadinimai yra sujaukti — įrankis ieško struktūrinių požymių, o ne pasikliauja skaitomu pradiniu kodu, todėl jis veikia net svetainėse, kurios niekada neišleido source map failo. Be keturių pagrindinių framework'ų, jis taip pat atpažįsta virš jų sluoksniuotus meta-framework'us, tokius kaip Next.js ir Nuxt, ir juos nurodo kaip atskirą sluoksnį nuo pagrindinės React ar Vue vykdymo aplinkos. Tai leidžia greitai orientuotis, kai patenkate į nepažįstamą kodo bazę ar konkurento svetainę ir prieš gilinantis norite suprasti, į ką žiūrite.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Įdiekite „DevSuite Pro“ nemokamai ir atrakinkite 64+ kūrėjų įrankius savo naršyklei.