Open TheSTL opened 3 years ago
I'm using named import in ./App.js to import a function that console some value. When I edit that function, changes are not getting reflected. But if I use default export it's working fine.
./App.js
With named import: https://codesandbox.io/s/react-forked-3hnx8?file=/App.js with default import: https://codesandbox.io/s/react-forked-kb3zs?file=/App.js
looks like a problem in the bundler @CompuIves @DeMoorJasper. I remember something similar a while ago happening in sandpack as well
I'm using named import in
./App.js
to import a function that console some value. When I edit that function, changes are not getting reflected. But if I use default export it's working fine.With named import: https://codesandbox.io/s/react-forked-3hnx8?file=/App.js with default import: https://codesandbox.io/s/react-forked-kb3zs?file=/App.js