Skip to content

Commit f49f2ab

Browse files
Merge pull request #73 from oslabs-beta/dev
Dev
2 parents e6a602c + 77aacc9 commit f49f2ab

File tree

5 files changed

+112
-6
lines changed

5 files changed

+112
-6
lines changed

package-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"type": "git",
1919
"url": "git+https://github.com/oslabs-beta/react-query-rewind.git"
2020
},
21-
"version": "2.1.4",
21+
"version": "2.1.5",
2222
"description": "React Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
2323
"keywords": [
2424
"react",

package-svelte/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
# Overview
2121

22-
React Query Rewind introduces a powerful DevTool extension designed to work in conjunction with React Query's built-in DevTools in order to optimize time-traveling through state changes in an application. This open-source extension is tailored to enhance the debugging experience for React Query users, allowing them to explore state changes and component relationships with ease.
22+
Svelte Query Rewind introduces a powerful DevTool extension designed to work in conjunction with React Query's built-in DevTools in order to optimize time-traveling through state changes in an application. This open-source extension is tailored to enhance the debugging experience for React Query users, allowing them to explore state changes and component relationships with ease.
2323

2424
# Getting Started
2525

package-svelte/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"type": "git",
1919
"url": "git+https://github.com/oslabs-beta/react-query-rewind"
2020
},
21-
"version": "1.1.3",
22-
"description": "React Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
21+
"version": "1.1.4",
22+
"description": "Svelte Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
2323
"keywords": [
2424
"react",
2525
"react query",

package-vue/README.md

+106-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,106 @@
1-
# VueQueryRewind
1+
<a id="readme-top"></a>
2+
3+
<p align="center">
4+
<img src="./assets/icon.png" alt="Logo" width="250"/>
5+
</p>
6+
7+
# Technologies
8+
9+
[![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)](https://www.javascript.com/)
10+
[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
11+
[![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge&logo=react&logoColor=%2361DAFB)](https://reactjs.org/)
12+
[![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white)](https://html.com/html5/)
13+
[![Webpack](https://img.shields.io/badge/webpack-%238DD6F9.svg?style=for-the-badge&logo=webpack&logoColor=black)](https://webpack.js.org/)
14+
[![D3](https://img.shields.io/badge/d3%20js-F9A03C?style=for-the-badge&logo=d3.js&logoColor=white)](https://d3js.org/)
15+
[![ESLint](https://img.shields.io/badge/eslint-3A33D1?style=for-the-badge&logo=eslint&logoColor=white)](https://eslint.org/)
16+
[![Material UI](https://img.shields.io/badge/Material%20UI-007FFF?style=for-the-badge&logo=mui&logoColor=white)](https://mui.com/)
17+
[![Jest](https://img.shields.io/badge/Jest-C21325?style=for-the-badge&logo=jest&logoColor=white)](https://jestjs.io/)
18+
[![Babel](https://img.shields.io/badge/Babel-F9DC3E?style=for-the-badge&logo=babel&logoColor=white)](https://babeljs.io/)
19+
20+
# Overview
21+
22+
Vue Query Rewind introduces a powerful DevTool extension designed to work in conjunction with React Query's built-in DevTools in order to optimize time-traveling through state changes in an application. This open-source extension is tailored to enhance the debugging experience for React Query users, allowing them to explore state changes and component relationships with ease.
23+
24+
# Getting Started
25+
26+
## Prerequisites
27+
28+
1. React Query installed and in use in your application.
29+
30+
2. Install RQRewind Chrome Extension.
31+
32+
<!-- _link / picture of Extension in Chrome Store_ -->
33+
34+
## Installation
35+
36+
1. Download npm package into your application as a dev dependency.
37+
38+
```sh
39+
npm i --save-dev react-query-rewind
40+
```
41+
42+
2. Import the ReactQueryRewind component into the root of your applicaiton.
43+
44+
_picture of importing the component_
45+
46+
```javascript
47+
import ReactQueryRewind from 'react-query-rewind';
48+
```
49+
50+
3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component.
51+
52+
```javascript
53+
ReactDOM.createRoot(document.getElementById('root')!).render(
54+
<QueryClientProvider client={queryClient}>
55+
<App />
56+
<ReactQueryRewind />
57+
</QueryClientProvider>
58+
);
59+
```
60+
61+
4. Open the Chrome DevTool Extension and start coding!
62+
63+
<p align="left">
64+
<img src="./assets/chrome-devtool.png" alt="Component Placement" width="600"/>
65+
</p>
66+
67+
# Features
68+
69+
- <b>Query States: </b>Upon opening RQRewind in Chrome Dev Tools, you will see the Queries tab open with a drop down menu listing the query keys of all the incoming queries. Select the queries that you want to monitor, make changes on the web app, and the changes of query states will be logged as reflected by the growing number above the play bar. Use the play bar to navigate to a particular state snapshot that you would like to inspect.
70+
71+
<p align="center"><img src="./assets/query-states.gif" width='800' style="margin-top: 1em; margin-bottom: 1em;"></p>
72+
73+
- <b>State Diff: </b>Toggle on the Diff button to see state changes between each snapshot highlighted. Turn on the switch on top of the page to show only parts of the state that are changed.
74+
75+
<p align="center"><img src="./assets/state-diff.gif" width='800' style="margin-top: 1em; margin-bottom: 1em;"></p>
76+
77+
- <b>Live UI Change: </b>As you review the state change history, there is also the option to turn on the time travel mode by clicking on the clock icon button. Under time travel mode, when visiting a logged state snapshot on RQRewindl, the UI of the app will change accordingly. Turn off time travel mode for RQRewind to continue logging future state changes.
78+
79+
<p align="center"><img src="./assets/UI-change.gif" width='800' style="margin-top: 1em; margin-bottom: 1em;"></p>
80+
81+
- <b>Component Tree: </b> Click on the Component Tree tab and turn on the Start Profiling switch. Click on any component on the app, and view the component tree that is rendered on the dev tools panel.
82+
83+
<p align="center"><img src="./assets/component-tree.gif" width='800' style="margin-top: 1em; margin-bottom: 1em;"></p>
84+
85+
# Contact Information
86+
87+
Austin Cavanagh - [GitHub](https://github.com/austin-cavanagh) - [LinkedIn](https://www.linkedin.com/in/austincavanagh/) - [email protected]
88+
89+
Emma Teering - [GitHub](https://github.com/eteering) - [LinkedIn](https://www.linkedin.com/in/emma-teering/) - [email protected]
90+
91+
John Dunn - [GitHub](https://github.com/johnwdunn20) - [LinkedIn](https://www.linkedin.com/in/johnwdunn/) - [email protected]
92+
93+
Rui Fan - [GitHub](https://github.com/ruifan-IU) - [LinkedIn](https://www.linkedin.com/in/rui-fan-868231299/) - [email protected]
94+
95+
# Links
96+
97+
[![Medium](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@teeringe/react-query-rewind-time-travel-debugging-made-simple-46aaeeafd497)
98+
[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/react-query-rewind/)
99+
100+
Project Link: [React Query Rewind](https://github.com/oslabs-beta/react-query-rewind-chrome)
101+
102+
# License
103+
104+
_MIT Link_
105+
106+
<p align="right">(<a href="#readme-top">back to top</a>)</p>

package-vue/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@react-query-rewind/vue-query-rewind",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
4+
"description": "Vue Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
45
"type": "module",
56
"files": [
67
"dist"

0 commit comments

Comments
 (0)