codesandbox / codesandbox/codesandbox-client
Hot Module Reloading not working with Named export
Open
@DeMoorJasper is already working on this.
Since Sep 17, 2021.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.