Extract to React chrome extension

Version: 1.0.2
Extract to React
Chrome/Chromium extension that allows easy HTML to React conversion.
1.71 Based on 7 user rates

What is Extract to React?

Extract to React is a developer tools chrome extension. it's a free extension , it has 2,000+ active users since released its first version, it earns an average rating of 1.71 from 7 rated user, last update is 2137 days ago.


What’s new in version 1.0.2?

                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/)            

How to install Extract to React?

You could download the latest version crx file or older version files and install it.


Preview of Extract to React


Technical Features:

  • Latest Version: 1.0.2
  • Requirements: Windows Chrome, Mac Chrome
  • License: Free
  • Latest update: Wednesday, January 16th, 2019
  • Author: Jess Telford

Extract to React Available languages:

English (UK).


FAQ


Reviews of extract to react:


Phillip Madsen November 19th, 2020
Phillip Madsen

does not work


G García Díaz March 29th, 2020
G García Díaz

doesn't import anything


Taylor Bunker May 17th, 2019
Taylor Bunker

Didn't work for me either.

Read more review & comments of extract to react