react-imported-component icon indicating copy to clipboard operation
react-imported-component copied to clipboard

Hot reloading seems broken on parcel-react-ssr example

Open thomasjm opened this issue 5 years ago • 0 comments

Steps to reproduce:

  1. Go to the parcel-react-ssr folder and run yarn install && yarn run dev
  2. Click the link to go to http://localhost:1234/codeSplit
  3. Try editing some text in parcel-react-ssr/app/HelloWorld2.js
  4. Result: app fails to reload, and an error appears in the browser console:
react-imported-component: no import-marks found, please check babel plugin

Hot reloading works fine on the initial, non code-split page (HelloWorld.jsx).

(Also somewhat concerningly, I couldn't get the example to run at all when installing with npm install. It would throw various errors from the dev script unless I used yarn install.)

thomasjm avatar Aug 23 '20 12:08 thomasjm