react-imported-component
react-imported-component copied to clipboard
Hot reloading seems broken on parcel-react-ssr example
Steps to reproduce:
- Go to the
parcel-react-ssrfolder and runyarn install && yarn run dev - Click the link to go to
http://localhost:1234/codeSplit - Try editing some text in
parcel-react-ssr/app/HelloWorld2.js - 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.)