Extract to React

Extract to React 1.0.2 CRX for Chrome

A Free Developer Tools Extension

Published By Jess Telford

Extract to React (fbdmadiknkkdfcgjdbmddklighibfomm): Chrome/Chromium extension that allows easy HTML to React conversion.... Read More > or Download Now >

Extract to React for Chrome

Download CRX

Download

488.61 KB

Chrome Store

Tech Specs

  • • Type: Browser Extension
  • • Latest Version: 1.0.2
  • • Require: Chrome 39 and up
  • • Offline: No
  • • Developer: Jess Telford

User Reviews

  • 7 Votes, Average: 1.71 out of 5
  • • Rating Average
  • 1.71 out of 5
  • • Rating Users
  • 7

Download Count

  • • Total Downloads
  • 16
  • • Current Version Downloads
  • 16
  • • Updated: January 16, 2019

Extract to React is a free Developer Tools Extension for Chrome. You could download the latest version crx file and install it.

More About Extract to React

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:


Hello, world!



#1
#2



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

Download Extract to React 1.0.2

More Extensions to Consider (Similar or Related)