Skip to content

docs(landing): document React Native and its differences from the web - #1053

Open
owjs3901 wants to merge 1 commit into
feat/react-native-typesfrom
feat/react-native-docs
Open

owjs3901 wants to merge 1 commit into
feat/react-native-typesfrom
feat/react-native-docs

Conversation

@owjs3901

Copy link
Copy Markdown
Contributor

Part of #411, depends on #1052 (base: feat/react-native-types). PR 13 of the React Native plan, and the last one: design §8 step 8 docs and the landing page section, including D8 (document the differences from the web).

What it does

  • Adds a new docs page, /docs/react-native, with an English source. The Korean route falls back to it, like the other untranslated pages. The page covers:
    • an experimental (0.x) notice, which says the package is not published;
    • setup for Expo and the React Native CLI, and the df types;
    • the element mapping;
    • Differences from the web (D8), a table that compares the two for:
      • output;
      • runtime (about 1.2 kB gzip, only for styles that need it, and runtime: false);
      • numbers and units;
      • themes and the system appearance;
      • breakpoints;
      • the _active/_hover/_focus/_disabled states;
      • other selectors;
      • platform and orientation blocks;
      • className={css()};
      • Reanimated animations;
      • globalCss/Grid;
      • styled-components/Emotion native compat;
      • unsupported properties;
    • Expo web, and when to use the web plugins instead.
  • Adds a "React Native" item to the docs left menu, after "Build Errors".
  • e2e/exported-routes.ts now expects /docs/react-native and /ko/docs/react-native.
  • The home page is unchanged: its Playwright screenshot baselines are generated by maintainers, so this PR does not touch the home page sections.
  • CI: feat/react-native-types is added to the pull_request branches of the workflow.

Verification

Locally, apps/landing bun run build passes and prerenders docs/react-native.html and ko/docs/react-native.html.


#411의 일부이며 #1052에 의존합니다 (base: feat/react-native-types). React Native 계획의 13번째이자 마지막 PR로, 설계 §8 8단계의 문서와 랜딩 페이지 섹션, 그리고 D8(웹과의 차이 문서화)입니다.

변경 내용

  • 새 문서 페이지 /docs/react-native를 영어 원문으로 추가했습니다. 번역되지 않은 다른 페이지처럼 한국어 경로는 이 페이지로 fallback합니다. 다루는 내용:
    • 패키지가 배포되지 않았다는 experimental(0.x) 안내;
    • Expo와 React Native CLI 설정, df 타입;
    • 요소 매핑;
    • 웹과의 차이(D8): 다음 항목을 비교하는 표:
      • 출력;
      • 런타임(약 1.2 kB gzip, 필요한 스타일에만 쓰이며 runtime: false 가능);
      • 숫자와 단위;
      • 테마와 시스템 appearance;
      • breakpoint;
      • _active/_hover/_focus/_disabled 상태;
      • 그 밖의 selector;
      • 플랫폼·방향 블록;
      • className={css()};
      • Reanimated 애니메이션;
      • globalCss/Grid;
      • styled-components/Emotion native compat;
      • 지원하지 않는 속성;
    • Expo web, 그리고 웹 플러그인을 써야 하는 경우.
  • 문서 왼쪽 메뉴의 "Build Errors" 다음에 "React Native" 항목을 추가했습니다.
  • e2e/exported-routes.ts가 이제 /docs/react-native와 /ko/docs/react-native를 기대합니다.
  • 홈 페이지는 바꾸지 않았습니다. 홈의 Playwright 스크린샷 baseline은 maintainer가 생성하므로, 이 PR은 홈 섹션을 건드리지 않습니다.
  • CI: workflow의 pull_request branches에 feat/react-native-types를 추가했습니다.

검증

로컬에서 apps/landing의 bun run build가 통과하고 docs/react-native.html과 ko/docs/react-native.html을 prerender합니다.

🤖 Generated with Claude Code

A React Native page in the docs: setup with Metro, the elements, a table of
what differs from the web (output, runtime, units, themes, breakpoints,
states, selectors, animations, compat) and Expo web.

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

codecov Bot commented Nov 21, 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.

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