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
The @tanstack/lit-virtual package does not re-export @tanstack/virtual-core as is promised by the documentation and followed upon by all other framework-specific packages.
All the other packages have the following line after the imports:
export*from'@tanstack/virtual-core'
This one missing forces the user to import e.g. types or the defaultRangeExtractor via the peer-dependency @tanstack/virtual-core or to install it as an extra dependency which is undesirable.
Try to import the defaultRangeExtractor from @tanstack/lit-virtual
Expected behavior
As a user, I expected to be able to import the defaultRangeExtractor and tanstack/virtual types etc. from the @tanstack/lit-virtual package directly.
How often does this bug happen?
Every time
Screenshots or Videos
Platform
all
tanstack-virtual version
v3.10.8
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.
The text was updated successfully, but these errors were encountered:
Describe the bug
The @tanstack/lit-virtual package does not re-export @tanstack/virtual-core as is promised by the documentation and followed upon by all other framework-specific packages.
All the other packages have the following line after the imports:
This one missing forces the user to import e.g. types or the
defaultRangeExtractor
via the peer-dependency@tanstack/virtual-core
or to install it as an extra dependency which is undesirable.Your minimal, reproducible example
https://codesandbox.io/p/devbox/reverent-turing-d43gc7?workspaceId=984f353e-b3d1-46f7-ba8e-c7d667807441
Steps to reproduce
defaultRangeExtractor
from@tanstack/lit-virtual
Expected behavior
As a user, I expected to be able to import the
defaultRangeExtractor
and tanstack/virtual types etc. from the@tanstack/lit-virtual
package directly.How often does this bug happen?
Every time
Screenshots or Videos
Platform
all
tanstack-virtual version
v3.10.8
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct
The text was updated successfully, but these errors were encountered: