@intrig/react 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,42 @@
|
|
|
1
1
|
# @intrig/react
|
|
2
2
|
|
|
3
|
-
This library
|
|
3
|
+
This library serves as the placeholder for Intrig generated React content. It provides the necessary infrastructure and utilities for integrating with React applications.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Overview
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
@intrig/react is designed to work seamlessly with the Intrig Core ecosystem, providing specialized support for React applications. When you generate code using Intrig with the React generator, this library provides the foundation for that generated code.
|
|
8
|
+
|
|
9
|
+
## Features
|
|
10
|
+
|
|
11
|
+
- **React Integration**: Specialized utilities for React applications
|
|
12
|
+
- **Custom Hooks**: React hooks for API integration
|
|
13
|
+
- **State Management Helpers**: Utilities for managing API state in React
|
|
14
|
+
- **Type Safety**: Full TypeScript support for all components
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm install @intrig/react
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
The library is primarily used as a dependency for Intrig generated code. When you generate code using Intrig with the React generator, it will automatically use this library.
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
// Example of importing from the library
|
|
28
|
+
import { createReactClient } from '@intrig/react';
|
|
29
|
+
|
|
30
|
+
// Usage in your React application
|
|
31
|
+
const client = createReactClient({
|
|
32
|
+
// Configuration options
|
|
33
|
+
});
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Documentation
|
|
37
|
+
|
|
38
|
+
For more detailed documentation, please refer to the [Intrig Core documentation](https://docs.intrig.io).
|
|
39
|
+
|
|
40
|
+
## License
|
|
41
|
+
|
|
42
|
+
This project is licensed under the MIT License - see the LICENSE file for details.
|