Help understanding package names #6551
-
I am converting my component library built with React Aria Components over to
I think I may have to install TLDR: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
react-aria is the mono package and should be used for ease of maintenance. Everything exported there has documentation and is guaranteed public API. @react-aria is the scope for all our aria logic. We have them all separated because of https://github.com/adobe/react-spectrum/blob/main/rfcs/2019-v3-versioning.md using the @react-aria scoped packages directly is usually an advanced use case the same pattern applies to stately |
Beta Was this translation helpful? Give feedback.
Correct, toast is in Beta https://react-spectrum.adobe.com/react-aria/useToast.html#usetoast as you can see from the documentation. When it's moved to a full release, it'll be added to the
react-aria
package.useViewportSize
should probably be added to the mono package given that we say you can use it https://react-spectrum.adobe.com/blog/building-a-combobox.html#onscreen-keyboardthough it doesn't actually have a documentation page, so it's in a bit of a limbo state, we'll have to decide if we actually want to expose it officially or remove that blog.