This is an example for this plugin use with React HMR.
- Run
yarn
to install dependencies - Run
yarn start
to start the building process - Open Chrome, install the demo extension from this folder.
- Open http://example.com/ You can see a React UI.
- Change ./src/App.tsx and see HMR happens.
- Open the options page of this extension (right click on the extension to open the menu).
- The same UI rendered in the chrome-extension:// protocol and also gets HMR.