You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-native-query-devtool/README.md
+44-38Lines changed: 44 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,46 +3,21 @@
3
3
## Features
4
4
5
5
- Provides a component for integrating query data in React Native applications running react-query v3, and @tanstack/react-query v4 and v5.
6
-
- Includes a standalone app to visualize and help debug query data.
7
-
8
-
## Standalone App
9
-
10
-
The standalone app allows you to visualize and debug query data from your React Native application using the `@jsmdeleon/react-native-query-devtool` package.
6
+
- (Optional) Includes a standalone app to visualize and help debug query data.
11
7
12
8
## Installation
13
9
14
-
You can download the standalone app from the following link. Currently, it's available only for **macOS M1** and **Windows x64**:
**Linux users:** You need to build the app from source as it's currently only available for **macOS M1** and **Windows x64**. Ensure to set up your environment accordingly before building the app.
10
+
To use the devtool component in your React Native project, install the package using `npm` or `yarn`, You will also need to install `react-native-gesture-handlers` if you haven't already.
19
11
20
12
```bash
21
-
# Go to app folder
22
-
cd react-native-query-devtool-app
23
-
24
-
# Install dependencies
25
-
yarn
26
-
27
-
# Build
28
-
yarn build-server
29
-
```
30
-
31
-
After running the build command, you'll find the freshly built app in a new folder named **'out'**.
32
-
33
-
## React Native Component
34
-
35
-
To use the devtool component in your React Native project, install the package:
If you want more room to debug your query data, you can download the standalone app from the following link. Currently, it's available only for **macOS M1** and **Windows x64**. See [repo](https://github.com/jossydeleon/react-native-query-devtool-monorepo/tree/main/packages/react-native-query-devtool-app)
**Note:** The binaries provided are not signed. If you have concerns about security or trust, you can choose to build the app from the source code for your machine.
67
+
68
+
**Linux users:** You need to build the app from source as it's currently only available for **macOS M1** and **Windows x64**. Ensure to set up your environment accordingly before building the app.
69
+
70
+
```bash
71
+
# Go to app folder
72
+
cd react-native-query-devtool-app
73
+
74
+
# Install dependencies
75
+
yarn
76
+
77
+
# Build
78
+
yarn build-server
79
+
```
80
+
81
+
After running the build command, you'll find the freshly built app in a new folder named **'out'**.
82
+
83
+
**Important:** The standalone app uses port `9017` by default. Ensure that this port is available and not blocked by any firewall settings or other applications on your system.
82
84
83
85
## Examples
84
86
@@ -98,3 +100,7 @@ yarn ios
98
100
# or
99
101
yarn android
100
102
```
103
+
104
+
## Contributions
105
+
106
+
Contributions to improve this project are welcome! If you have any ideas for new features, enhancements, bug fixes, or optimizations, feel free to submit a pull request. You can also report any bugs or issues you encounter by opening a new issue
0 commit comments