Skip to content

v0.0.12

Latest

Choose a tag to compare

@LESANF LESANF released this 28 Sep 08:59
1d4812e

Warning

Still a PoC. 0.0.x promises no API or structural stability.

A small release: one developer-experience fix carried as a patch, and dependency housekeeping.

The Element Inspector no longer throws away your screen

Toggling Touchables in the in-app Element Inspector bumped the root view's key and remounted the entire app, so you landed back on the first screen with navigation and component state gone. That code has been in React Native since 2016. The template now carries a pnpm patch on react-native@0.86.3 that makes the PressabilityDebug flag subscribable and drops the remount; the dotted boxes and pressable Text subscribe to it instead. Nothing attaches outside __DEV__, so release builds are untouched.

We sent the same change upstream as facebook/react-native#58705. Even when it lands it will be 0.88+ with no backport, so the patch stays until the template moves there. patches/README.md has the dated entry and the exact removal condition.

Expo patch versions

expo, expo-router, expo-constants, expo-build-properties and @expo/metro-runtime moved to the versions expo-doctor expects. 21/21.

Already generated a project?

MIGRATION.md has a v0.0.10 / v0.0.11 row: npx expo install --fix for the versions, and the patch copied straight from this tag if you want it.


Warning

여전히 PoC 입니다. 0.0.x 는 API·구조 안정성을 약속하지 않습니다.

작은 릴리즈입니다. 패치로 나가는 개발 경험 수정 하나와 의존성 정리.

Element Inspector 가 화면을 날리지 않습니다

인앱 Element Inspector 의 Touchables 를 누르면 루트 뷰의 key 가 올라가 앱 전체가 리마운트됐습니다. 내비게이션과 컴포넌트 상태가 사라지고 첫 화면으로 돌아갔죠. 2016년부터 React Native 에 있던 코드입니다. 템플릿은 이제 react-native@0.86.3 에 pnpm 패치를 얹습니다 — PressabilityDebug 플래그를 구독 가능하게 바꾸고 리마운트를 없앴습니다. 점선 박스와 onPress 있는 Text 가 대신 구독합니다. __DEV__ 밖에는 아무것도 붙지 않아 릴리즈 빌드는 그대로입니다.

같은 변경을 facebook/react-native#58705 로 업스트림에 올렸습니다. 들어가도 0.88+ 이고 백포트는 없으니 그 버전으로 갈 때까지 패치가 남습니다. patches/README.md 에 날짜별 항목과 지우는 조건이 있습니다.

Expo 패치 버전

expo·expo-router·expo-constants·expo-build-properties·@expo/metro-runtime 을 expo-doctor 가 기대하는 버전으로 올렸습니다. 21/21.

이미 프로젝트를 만들었다면

MIGRATION.md 에 v0.0.10 · v0.0.11 행이 있습니다. 버전은 npx expo install --fix, 패치는 원하면 이 태그에서 파일을 그대로 받습니다.