You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./node_modules/@tanstack/virtual-core/dist/esm/index.js 254:22
Module parse failed: Unexpected token (254:22)
File was processed with these loaders:
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| startIndex,
| endIndex
> } = this.range ?? {
| startIndex: void 0,
| endIndex: void 0
Hi guys, can you help me with this problem? I already use:
This error happen only when i use useVirtualizer()
Your minimal, reproducible example
Steps to reproduce
Install the library
Try to use useVirtualizer()
Expected behavior
It should work without problems
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS
tanstack-virtual version
^3.9.0
TypeScript version
^4.7.4
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.
The text was updated successfully, but these errors were encountered:
yes me too, it should be a transpiler option to provide compatibility with older ES versions, right now I am looking for another version of tanstack without this syntax.
BUT!!
in my project (react 17.. and react-scripts 4.0.3, sorry) I did resolve the syntax issue connecting those babels you mentioned with react rewired
also you have to change your scripts (every place you have react-scripts it has to be replaced with react-app-rewired (in package.json again) :
"test": "react-app-rewired test",
"start": "react-app-rewired start"
as this involves many changes in the chore of the project I dont like it much, would like to find a better solution
Describe the bug
Hi guys, can you help me with this problem? I already use:
This error happen only when i use useVirtualizer()
Your minimal, reproducible example
Steps to reproduce
Expected behavior
It should work without problems
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS
tanstack-virtual version
^3.9.0
TypeScript version
^4.7.4
Additional context
No response
Terms & Code of Conduct
The text was updated successfully, but these errors were encountered: