Skip to content

feat(landing): add a React Native section to the home page - #1065

Merged
owjs3901 merged 8 commits into
feat/react-native-viewportfrom
feat/landing-react-native-section
Nov 29, 2026
Merged

owjs3901 merged 8 commits into
feat/react-native-viewportfrom
feat/landing-react-native-section

Conversation

@owjs3901

@owjs3901 owjs3901 commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a React Native section to the landing home page (/ and /ko), after Features and in the same card style:

  • Metro plugin: wrap the Metro config with withDevupUI (Expo or React Native CLI) and keep importing from @devup-ui/react.
  • StyleSheet at build time: style props become style objects in one StyleSheet.create per file; no CSS parsing at runtime.
  • Minimal runtime: static styles need none; a ~1.3 kB gzip runtime is imported only by styles that read the theme or the window (themes, responsive values). _pressed compiles to Pressable's style function.
  • A "Read the React Native docs" link to /docs/react-native.

The copy says the support is experimental, matching the docs page (the Metro plugin is not published yet). Strings live in Home.reactNative* in en.json/ko.json.

Baselines

Adds a section screenshot test (light and dark), like the other home sections. Linux baselines were taken from CI, since Windows-generated ones differ:

  • Updated (actual screenshots from run 46177777549, byte-identical across the vinext, singleCss, Next.js and Next.js per-file e2e jobs): full-page-{desktop,mobile}, section-top-banner (its locator spans the whole page) and their dark- versions.
  • Added: section-react-native and dark-section-react-native, attached by a temporary commit in run 46179259194 (stable across jobs and retries) and then reverted.
  • Also added the two new section images for win32 from a local run. No other baseline changed.

Stacked on #1064.


요약

랜딩 홈 페이지(/, /ko)의 주요 기능 섹션 뒤에 같은 카드 스타일로 React Native 섹션을 추가합니다.

  • Metro 플러그인: Expo 또는 React Native CLI의 Metro 설정을 withDevupUI로 감싸고, 계속 @devup-ui/react에서 import합니다.
  • 빌드 시점의 StyleSheet: 스타일 props가 파일마다 하나의 StyleSheet.create 안의 스타일 객체가 되며, 런타임에 CSS를 파싱하지 않습니다.
  • 최소한의 런타임: 정적 스타일에는 런타임이 필요 없고, gzip 약 1.3 kB의 런타임은 테마나 창 크기를 읽는 스타일(테마, 반응형 값)에서만 import됩니다. _pressed는 Pressable의 스타일 함수로 컴파일됩니다.
  • /docs/react-native로 가는 "React Native 문서 보기" 링크.

문서 페이지와 같이 실험적 기능이라고 안내합니다(Metro 플러그인은 아직 배포되지 않았습니다). 문구는 en.json/ko.json의 Home.reactNative*에 있습니다.

기준 이미지

다른 홈 섹션처럼 섹션 스크린샷 테스트(라이트, 다크)를 추가했습니다. Windows에서 만든 이미지는 다르므로 Linux 기준 이미지는 CI에서 가져왔습니다.

  • 갱신: run 46177777549의 실제 스크린샷(vinext, singleCss, Next.js, Next.js per-file e2e 잡에서 바이트 단위로 동일): full-page-{desktop,mobile}, section-top-banner(locator가 페이지 전체를 포함), 그리고 각 dark- 버전.
  • 추가: section-react-native, dark-section-react-native. 임시 커밋으로 run 46179259194에서 첨부해 받았으며(잡과 재시도 간 동일), 임시 커밋은 되돌렸습니다.
  • 새 섹션의 win32 이미지 두 개는 로컬 실행에서 추가했습니다. 그 밖의 기준 이미지는 바꾸지 않았습니다.

#1064 위에 쌓인 PR입니다.

🤖 Generated with Claude Code

owjs3901 and others added 8 commits November 29, 2026 03:42
Add page.ko.mdx for /docs/react-native, link the English page's language
alternates to it, and give the docs menu's React Native item an i18n key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tell readers that Devup UI now compiles to React Native: the Metro plugin,
style props hoisted into StyleSheet.create at build time, and the minimal
runtime that only theme- and window-reading styles import. Link to
/docs/react-native, in English and Korean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Linux images are the actual screenshots from CI run 46177777549, identical
across the vinext, singleCss and Next.js e2e jobs. The win32 images of the new
section come from a local run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reverted in the next commit once CI provides the Linux baselines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The images are the section screenshots CI run 46179259194 attached, identical
across the e2e jobs and retries. Drop the temporary attach.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Base automatically changed from docs/react-native-ko to feat/react-native-viewport November 29, 2026 06:40
@owjs3901
owjs3901 merged commit 566be9c into feat/react-native-viewport Nov 29, 2026
39 checks passed
@owjs3901
owjs3901 deleted the feat/landing-react-native-section branch November 29, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant