DEV Community

Cover image for How to inject a React app in a Chrome Extension as a Content Script
Yosevu Kilonzo
Yosevu Kilonzo

Posted on

How to inject a React app in a Chrome Extension as a Content Script

This is an update to an article I wrote on Medium in 2017 called How to inject a React app into a Chrome Extension as a content script. A few people have been interested in it, but it is out of date and the source code needed to be updated for React 17. Find the updated version on GitHub: https://github.com/yosevu/react-content-script.

There have been significant changes to how Chrome Extensions and Content Scripts work, so I'll make a video to go over some of them and look at how to avoid some problems that come up using create-react-app.

Discussion (0)