(feat/perf) Allow vite-plugin-vue-devtools to load only on inspection/fine control features
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- devtools, performance
調査の方向性
vueDevTools() が設定されている vite.config.ts のエントリから始め、次にプラグインがブラウザへどのように注入されるかを追跡します。インスペクションの有効化と選択的な機能をどのように制御するかを定義します。デフォルトではプラグインが通常のオーバーヘッドを発生させず、ユーザーが必要なインスペクション機能を有効にできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Here's my usecase: I have a rather big and complex project with a ton of components.
It works flawlessly until I open the DevTools browser extension. From this, it becomes a rather slow, but that's expected. I can debug what's wrong and reload the page when I'm done to go back to a performant state.
The problem is that the Firefox extension is not updated anymore (still in 7.7.7) and I find the Vite plugin really cool. My problem is when I use it, it directly loads in the browser, so my project is in the slow state from the start.
My suggestions:
- Make the plugin load after a shortcut, or when we click on the little "V", so that by default it's not injected and the app is performant. For now, I have to comment the
vueDevTools()line on myvite.config.tsfile to disable it, and have to reload with the line commented out when I want to debug. - Make it possible to disable some feature. I suspect things like the timeline can make it slow. 99% of the time, I only use the component inspection, so if I could only enable this feature, this could be easier to work with.
- 主要言語
- TypeScript
- スター
- 2.9k
- フォーク
- 289
- 平均マージ
- 2日 48分
- マージ済み PR(30日)
- 19
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vuejs/devtools のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 2 日以内に返信
-
Upgrade Electron to fix ZIP extraction on Node.js 26対応中かも @ondrhn が 45 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
On the landing site, the "Developer experience" card is redundant再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
vuejs/devtools#975 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
fix(worker): keep normal prepare waiting states failure-free対応中かも @LichKing-2234 が今日担当しました。 オープンagent:codex priority:P1
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AgoraIO-Extensions/agent-infra#3745 ·
メンテナーはふだん 1 日以内に返信
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framing対応中かも @Eapp1e が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
makecindy/cindy#7973 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
lingdojo/kana-dojo#33337 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
code-yeongyu/senpi#4917 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信