@tanstack/lit-virtual does not re-export @tanstack/virtual-core
Opened this issue · 0 comments
zemzelett commented
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:
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.
Your minimal, reproducible example
Steps to reproduce
- 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.