HMR (live reload, fast refresh) broke render in React
dartess opened this issue · comments
Sergey Kozlov commented
Describe the bug
After the hot reload, new list items are not rendered
Your minimal, reproducible example
Steps to reproduce
- open repl
- edit
console.log('foo');
with some different text - press cmd/ctrl+S for save and live reload
- scroll list
- see that list is empty
Expected behavior
it should just work
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
any platform , any bundler — vite, wepack, rspack
tanstack-virtual version
3.8.1
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Bohdan Yatsenko commented
Same here