swc-react is a collection of React wrapper components for Spectrum Web Components (SWC), providing a framework-agnostic approach with web components at the core. When migrating from React Spectrum to swc-react, follow these guidelines to ensure a smooth transition.
- Package Structure: React Spectrum uses a monolithic package (
@adobe/react-spectrum), while swc-react uses individual packages per component (@swc-react/button,@swc-react/textfield, etc.)