This repository is the monorepo for the published @cp949/kakao-postcode-react package.
The npm package lives in packages/kakao-postcode-react.
- Package usage, API surface, SSR notes, and examples:
packages/kakao-postcode-react/README.md - Package source:
packages/kakao-postcode-react/src - Local demo app:
apps/demo - Package browser test harness:
packages/kakao-postcode-react/browser
.
|-- apps/
| `-- demo/
|-- packages/
| |-- kakao-postcode-react/
| `-- typescript-config/
`-- README.md
@cp949/kakao-postcode-react is a browser-only React wrapper around Kakao Postcode embed().
Current package surface:
KakaoPostcodeEmbeduseKakaoPostcodeEmbedloadKakaoPostcodeScriptnormalizeKakaoPostcodeResult
For installation and end-user examples, use the package README:
Install workspace dependencies:
pnpm installStart the local demo app:
pnpm devUseful commands:
pnpm demo:dev
pnpm demo:build
pnpm --filter @cp949/kakao-postcode-react test
pnpm --filter @cp949/kakao-postcode-react build
pnpm --filter @cp949/kakao-postcode-react test:artifacts
pnpm test:browser
pnpm smoke:react18
pnpm smoke:react19Use Node.js 20 or newer for development, CI, and package installation.
This repository keeps package-consumer documentation in the package README and keeps repository-operational guidance in this root README.
As a rule:
- update
packages/kakao-postcode-react/README.mdfor API, install, usage, SSR, and runtime behavior changes - update
README.mdfor workspace layout, development commands, docs navigation, and contributor-facing guidance
These short notes stay in the root README because they are easy to verify during local development and are also checked for consistency with the package README.
Embed option notes:
qsets Kakao's initial search query forembed().autoCloseis supported for iframe mode and is passed to Kakao'sembed()options.- In this package,
autoCloseis not forwarded through the Kakao constructor options.
Loader recovery note:
- If a matching Kakao script tag is already marked with an error state, the loader removes that failed tag and retries with a fresh script element on the next load attempt.
The workspace demo app is a repository-level verification tool rather than the package's main documentation surface.
pnpm dev
pnpm demo:dev
pnpm demo:buildThe current app focuses on one Dialog 예제: open address search from a caller, select an address, confirm the result 호출자에게 반환, and review the same screen's 핵심 코드.