Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 473 Bytes

File metadata and controls

9 lines (8 loc) · 473 Bytes

This is an example for this plugin use with React HMR.

  1. Run yarn to install dependencies
  2. Run yarn start to start the building process
  3. Open Chrome, install the demo extension from this folder.
  4. Open http://example.com/ You can see a React UI.
  5. Change ./src/App.tsx and see HMR happens.
  6. Open the options page of this extension (right click on the extension to open the menu).
  7. The same UI rendered in the chrome-extension:// protocol and also gets HMR.