useAsyncList is not exported from react aria components? #9418
Answered
by
devongovett
DarkstarXDD
asked this question in
Q&A
-
|
Hey, in the docs for both Collection and ListBox, it shows in code examples that Not sure whether it's a mistake on the docs or whether that hook is meant to be exported from the components module. Currently I directly imported it from import { useAsyncList } from "react-stately" |
Beta Was this translation helpful? Give feedback.
Answered by
devongovett
Dec 29, 2025
Replies: 1 comment 1 reply
-
|
It was added as a re-export in the latest version of react-aria-components (v1.14.0). Make sure you're up to date! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
DarkstarXDD
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It was added as a re-export in the latest version of react-aria-components (v1.14.0). Make sure you're up to date!
react-spectrum/packages/react-aria-components/src/index.ts
Line 86 in 5670b2a