React Module Overview
The @bagisto-native/react package provides a developer-friendly wrapper around the core Web Components.
Goal
Its goal is to make integrating Bagisto Native into a React or Next.js application feel natural, idiomatic, and type-safe.
Features
- TypeScript Support: Full typing for all component props.
- SSR Compatibility: Handles the "window is not defined" issues automatically via dynamic imports.
- Declarative Syntax: Use
<HotwireToast />instead of<hotwire-toast>.
Next Steps
- Explore Why React Wrappers Exist
- Learn about Usage Rules
- Understand the Components Reference
