feat: integrate locatorjs for enhanced component inspection and navig…#10
Merged
feat: integrate locatorjs for enhanced component inspection and navig…#10
Conversation
PR Reviewer Guide 🔍(Review updated until commit 4c50fa5)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
Persistent review updated to latest commit 4c50fa5 |
PR Code Suggestions ✨No code suggestions found for the PR. |
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.
User description
…ation
PR Type
Enhancement
Description
LocatorJS 통합으로 컴포넌트 검사 기능 강화
개발 환경에서만 LocatorJS 런타임 조건부 로드
Vite Babel JSX 플러그인 추가
LocatorJS 관련 개발 종속성 업데이트
Diagram Walkthrough
File Walkthrough
__root.tsx
루트 문서에 LocatorJS 초기화 컴포넌트 추가apps/tanstack/src/routes/__root.tsx
LocatorJSInit컴포넌트를 임포트했습니다.RootDocument의태그 내에LocatorJSInit컴포넌트를 렌더링하도록 추가했습니다.LocatorJSInit.tsx
LocatorJS 런타임 조건부 로드 컴포넌트 구현apps/tanstack/src/components/LocatorJSInit.tsx
LocatorJSInit컴포넌트를 정의했습니다.useEffect훅을 사용하여 개발 환경(import.meta.env.DEV)에서만@locator/runtime을 동적으로임포트하도록 구현했습니다.
null을 반환합니다.vite.config.ts
Vite 설정에 LocatorJS Babel 플러그인 추가apps/tanstack/vite.config.ts
viteReact플러그인 설정에babel옵션을 추가했습니다.@locator/babel-jsx/dist플러그인을 Babel 설정에 포함하여 LocatorJS 기능을 활성화했습니다.package.json
LocatorJS 개발 종속성 추가apps/tanstack/package.json
@locator/babel-jsx(버전^0.5.1)를 추가했습니다.@locator/runtime(버전^0.5.1)을 추가했습니다.