[CORRUPTED] Synthetic Benchmark PR #30318 - refactor(web): organize devtools components #449
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: Corrupted (contains bugs)
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