[CLEAN] Synthetic Benchmark PR #30318 - refactor(web): organize devtools components#448
Open
tomerqodo wants to merge 5 commits intobase_pr_30318_20260121_3455from
Open
[CLEAN] Synthetic Benchmark PR #30318 - refactor(web): organize devtools components#448tomerqodo wants to merge 5 commits intobase_pr_30318_20260121_3455from
tomerqodo wants to merge 5 commits intobase_pr_30318_20260121_3455from
Conversation
… for devtool loaders
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Benchmark PR langgenius#30318
Type: Clean (correct implementation)
Original PR Title: refactor(web): organize devtools components
Original PR Description: ### Summary
This PR refactors the devtools organization in the
webmodule, standardizing the folder structure and implementing a consistent loading pattern across all tools.Key Changes
react-scan,tanstack) with encapsulated logic.Loadercomponents (e.g.,ReactScanLoader,TanStackDevtoolsLoader) that handle environment checks (IS_DEV), lazy loading (lazy), andSuspensewrapping.web/context/query-client.tsxandweb/app/layout.tsxby offloading devtools initialization and lazy loading logic to the respective loader components.web/app/components/devtools/index.tsusing clean exports, making the module easier to consume.Rationale
Original PR URL: refactor(web): organize devtools components langgenius/dify#30318