Skip to content

Integration with UI Components

Integration with UI Components

@yh-ui/request is designed to seamlessly interface with UI component libraries. By directly binding reactive states like loading, data, and error to UI elements, developers can implement complex interactions with minimal effort.

Basic Integration Examples

1. Data List + Loading State

List Loading Example

2. Form Submission + Feedback

Form Submission Example

3. Pagination List (Integration Mode)

No Data
Pagination Hooks Example

Advanced Scenarios

5. Real Upload Progress Integration

Demonstrates how to use useRequest with a real 3rd party file storage service.

Upload to file.io

6. AI Conversation Component Integration

Hello! I am the integration example AI.

AI Conversation Demo

Released under the MIT License.