Chrome/Chromium extension that allows easy html to React conversion..
Extract all the HTML & CSS of any portion of any website directly into a ready-to-go react component!
----
# Usage
- Quick start:
Inspect an element on the page > "Extract To React" tab > Extract the code to CodePen or JSFiddle.
- Advanced usage:
It is possible to split a monolithic component up into multiple nested components.
Find the elements you wish to become their own component in the "Elements" tab. Add an attribute called `data-component`.
Set the value of `data-component` to be the extracted name of the component:
<h1 class="heading" data-component="Heading">Hello, world!</h1>
<nav class="nav" data-component="Nav">
<ul class="list">
<li class="list-item" data-component="ListItem">#1</li>
<li class="list-item" data-component="ListItem">#2</li>
</ul>
</nav>
Will result in 3 components being extracted: `Heading`, `Nav`, and `ListItem`
----
# Bugs and Features
If you find a bug or have a feature request, please create an issue on GitHub: https://github.com/jesstelford/extract-to-react/issues
----
# Attribution
This project is based on excellent open source software:
* SnappySnippet: Chrome/Chromium extension that allows easy css+HTML extraction of specific dom element. Created snippet can be then exported to CodePen, jsFiddle or JS Bin with one click.
(https://github.com/kdzwinel/SnappySnippet/issues)
* html-to-react-components: extract annotated portions of HTML into React components as separate modules.
(https://roman01la.github.io/html-to-react-components/)
You can Follow the below Step By Step procedure to install the Extract to React Chrome Extension to your Chrome Web browser.
It is the Extract to React Chrome extension download link you can download and install Chrome Browser.
Tags: Html Css , Class Heading Data Component Heading , Codepen Jsfiddle , React Conversion , Ul Class , React Component , React Tab Extract , Class List , Specific Dom Element , React Components Extract , Quick Start , Nav Class Nav Data Component Nav , Excellent Open Source Software , Data Component , Readytogo React Component , Extracted Heading Nav , Excellent Open , React Components , Css Html , H1 Class , Chromechromium Extension ,
The Inspector launch with Ctrl+Shift+X (Command+Shift+X on Mac). You can detect and open the React component source code easily.
Adds React debugging tools to the Chrome Developer Tools. Created from revision 336ac8ceb on 7/13/2022.
A React component tree visualizer
React ChronoScope is a performance monitoring tool for React developers. It visualizes React application's components displaying…
A devtool extension for inspecting the performance of React components.
This is the React plugin error interface. Simple interface easy to handle.
A New Tab extension that shows you popular and new React repositories.
To create a React component with an input details.
Visual Testing Tool for React Applications
React Spit Debug Menu