{"repo":"zcf0508/vue-hook-optimizer","free":true,"listed":false,"github":"https://github.com/zcf0508/vue-hook-optimizer","clone":"git clone https://github.com/zcf0508/vue-hook-optimizer.git","description":"🌟 Analyze your components, and provide suggestions for modification. https://discord.gg/Xdam3NGdH5","language":"TypeScript","stars":122,"topics":["javascript","react","typescript","vue","eslint","vscode-extension"],"license":null,"category":"ui-components","readme_excerpt":"中文文档 This is a tool to analyze your components code. It supports Vue and React . Viste playground or try the vscode extension vue-hook-optimizer-ext. Install And Run Playground Open the browser and visit http://localhost:3000/ . How To Use 1. paste your component code into the editor 2. click Analyze button The tool will analyze the code, and show the relations between the variables and the methods. This is a simple demo. Motive Sometime we have to refactor the code, maybe there are thousands of lines of code in one file. And it is too complex and hard to understand. So I want to build a tool to help us analyze the code, and find the relations between the variables and the methods. We can find out some variables are isolated, and some methods are over-association, and then we can refactor them. Development Plan - [x] add more info, including the variable type, comment, whether has been used in template or hook methods - [x] provide some suggestions for optimization - [x] support options api - [x] vscode extension - [x] support React - [x] eslint rules - [x] mcp server Contribution Any contributions are welcome. Sponsor Me If you like this tool, please consider to sponsor me. I will keep working on this tool and add more features. License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/zcf0508","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zcf0508/vue-hook-optimizer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}