Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot reload break with anonymous top level component #67

Closed
SarguelUnda opened this issue Apr 23, 2024 · 1 comment
Closed

Hot reload break with anonymous top level component #67

SarguelUnda opened this issue Apr 23, 2024 · 1 comment

Comments

@SarguelUnda
Copy link

SarguelUnda commented Apr 23, 2024

Describe the bug

When using top level anonymous export default function () the hot reload break in some part of the tree

Steps to Reproduce the Bug or Issue

Reproduction : https://github.com/SarguelUnda/solidrefresh-hr-issue

npm i # or yarn or pnpm
npm run dev # or yarn or pnpm

Go to App.tsx and change "Hello world" to another text, the hot reload notification is sent to the terminal but the webapp doesnt hot reload. The issue does not arise if you give a name to the function

Expected behavior

The hot reload work event when using anonymous function

Screenshots or Videos

Platform

OS: Windows
Browser: Chrome and Firefox

Additional context

Maybe related to #64

@lxsmnsyc
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants