useAsyncList is not exported from react aria components? #9418
-
|
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.
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.
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