Chrome/Chromium extension that allows easy HTML to React conversion.

Latest Version

Version
1.0.2
Update
January 16, 2019
Size
489KiB
Developer
Category
Users
2,000+
Rating
1.71429 ★
Manifest Version
2
Web Store Status
Languages Support
English (UK)
See more
Permissions
See more

Extract to React Extension

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!





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

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Extract to React", "description": "Chrome/Chromium extension that allows easy HTML to React conversion.", "version": "1.0.2", "manifest_version": 2, "minimum_chrome_version": "39.0", "icons": { "16": "gfx/icon_16.png", "48": "gfx/icon_48.png", "128": "gfx/icon_128.png" }, "devtools_page": "devtools.html", "background": { "scripts": [ "js/background.js" ], "persistent": false }, "content_security_policy": "script-src 'self' https://www.google-analytics.com https://apis.google.com https://platform.twitter.com https://www.facebook.com; object-src 'self'"}
Read more

How to download and manually install Extract to React extension for Chrome

Looking for a way to install Extract to React extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Extract to React extensions manually, this article outlines two simple methods to effortlessly install Extract to React extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Extract to React extension and manually install through Drag &Drop

If you ever need to manually install a Extract to React extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Extract to React Extension by clicking the "Download CRX" button on the website.

Look for the Extract to React extension you wish to install. Go to the website and download the Extract to React extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Extract to React extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Extract to React extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Extract to React extension for Chrome and install in Developer Mode

This is another method to install Extract to React extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Extract to React extension file

Select and download the Extract to React extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Extract to React extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Extract to React extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Extract to React extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Extract to React extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

HTML To React Extension · Productivity 2,000+ 2 ★ 41.97KiB

icon

HTML to React Extension · Developer Tools 2,000+ 4 ★ 342KiB

icon

eXtract Snippet Extension · Developer Tools 2,000+ 38 ★ 297KiB

icon

Realize for React Extension · Developer Tools 2,000+ 7 ★ 160KiB

icon

React Inspector Extension · Developer Tools 2,000+ 8 ★ 26.91KiB

icon

CSS Used Extension · Developer Tools 2,000+ 184 ★ 164KiB

icon

React Performance Devtool Extension · Developer Tools 2,000+ 11 ★ 170KiB

icon

click-to-react-component Extension · Developer Tools 2,000+ 5 ★ 79.5KiB

icon

React VT Extension · Developer Tools 2,000+ 2 ★ 1.51MiB

icon

JSON Viewer React Extension · Developer Tools 2,000+ 2 ★ 882KiB

icon

React Repositories New Tab Extension · Developer Tools 2,000+ 0 ★ 728KiB

icon

React Context DevTool Extension · Developer Tools 2,000+ 21 ★ 2.35MiB

icon

React code finder Extension · Developer Tools 2,000+ 5 ★ 2.95MiB

icon

React Stores Devtools Extension Extension · Developer Tools 2,000+ 0 ★ 716KiB

icon

SnappySnippet Extension · Developer Tools 2,000+ 9 ★ 2.24MiB

icon

SnipCSS Extension · Developer Tools 2,000+ 32 ★ 13.12MiB

icon

Jinno: code any React component with AI Extension · Developer Tools 2,000+ 38 ★ 18.37MiB

icon

CSS Scan Extension · Developer Tools 2,000+ 84 ★ 1.41MiB

icon

CSSSteal Extension · Developer Tools 2,000+ 46 ★ 557KiB

icon

Web Design Pirate Extension · Developer Tools 2,000+ 21 ★ 134KiB

icon

Save All Resources Extension · Developer Tools 2,000+ 335 ★ 4.73MiB

icon

PageRip (HTML + CSS Extract) Extension · Developer Tools 2,000+ 54 ★ 434KiB

icon

Reactime Extension · Developer Tools 2,000+ 33 ★ 803KiB

icon

CSS Extractor (Extracts style & media rules) Extension · Developer Tools 2,000+ 5 ★ 18.14KiB

User reviews

icon

Phillip Madsen (ID: 000000564179b165) Voted 1 ★ - Updated 11/19/2020 does not work

icon

Guillermo García (ID: 0000009b07f83c83) Voted 1 ★ - Updated 03/30/2020 doesn't import anything

icon

Taylor Bunker (ID: 000000bb1982f5c6) Voted 1 ★ - Updated 05/17/2019 Didn't work for me either.

icon

Simply (ID: 000000f4a95a0d24) Voted 1 ★ - Updated 02/14/2019 Don't seem to work at all

icon

Davidson Nascimento (ID: 000000db50122942) Voted 5 ★ - Updated 12/05/2017 Really work!