From 6464f0ba0479f7753e13a82117ed5751eaa06458 Mon Sep 17 00:00:00 2001 From: 0w0 <55968557+rewrite0w0@users.noreply.github.com> Date: Fri, 7 Mar 2025 10:45:35 +0900 Subject: [PATCH] translate: 2025-03-06 article --- ...5.8erasablesyntaxonly-next.js-15.2-lynx.md | 234 ++++++++++++++++++ 1 file changed, 234 insertions(+) create mode 100644 _i18n/ko/_posts/2025/2025-03-06-typescript-5.8erasablesyntaxonly-next.js-15.2-lynx.md diff --git a/_i18n/ko/_posts/2025/2025-03-06-typescript-5.8erasablesyntaxonly-next.js-15.2-lynx.md b/_i18n/ko/_posts/2025/2025-03-06-typescript-5.8erasablesyntaxonly-next.js-15.2-lynx.md new file mode 100644 index 00000000000..aa124b5c1bc --- /dev/null +++ b/_i18n/ko/_posts/2025/2025-03-06-typescript-5.8erasablesyntaxonly-next.js-15.2-lynx.md @@ -0,0 +1,234 @@ +--- +title: "2025-03-06: TypeScript 5.8(erasableSyntaxOnly), Next.js 15.2, Lynx" +author: "azu" +translator: rewrite0w0 +layout: post +date: 2025-03-06T02:01:38.698Z +category: JSer +tags: +- TypeScript +- React +- Native +- ESLint +- css + +--- + +JSer.info #727 - TypeScript 5.8 출시되었습니다. + +- [Announcing TypeScript 5.8 - TypeScript](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/) + +TypeScript 5.8에서는, conditional return type 개선, `require(esm)` 대응, `--module node18` 추가되었습니다 +또한, Node.js의 `--experimental-strip-types`와 설정을 조합할 수 있는 `--erasableSyntaxOnly` 플래그 추가, `--libReplacement` 플래그 추가도 있습니다. + +[erasableSyntaxOnly](https://www.typescriptlang.org/tsconfig/#erasableSyntaxOnly) 옵션은, 다음 기능 금지하면 자료형 제거만으로도, JavaScript로 실행 가능한 TypeScript 코드 작성할 수 있는 설정입니다. + +- enum declarations +- namespaces and modules with runtime code +- parameter properties in classes +- Non-ECMAScript `import =` and `export =` assignments + +Node.js의 Type Stripping 관련해서는, 다음 글 참조 부탁드립니다. + +- [Node.js Type Stripping Explained](https://satanacchio.hashnode.dev/everything-you-need-to-know-about-nodejs-type-stripping) + +---- + +Next.js 15.2 출시되었습니다. + +- [Next.js 15.2 | Next.js](https://nextjs.org/blog/next-15-2) + +Error Overlay 스택트레이스 게시 개선, Dev indicator 개선, `generateMetadata` 처리를 비동기 대응, Turbopack 성능 개선이 있습니다. +또한, 실험적 기능으로 View Transition API 대응, Node.js middleware 지원도 추가되었습니다. + +---- + +[Lynx](https://lynxjs.org/) React/CSS/TypeScript 사용한 네이티브 애플리케이션 개발 툴킷을 ByteDance가 공개했습니다. + +Lynx는 React 17의 API와 QuickJS 기반한 [PrimJS](https://github.com/lynx-family/primjs) JavaScript 엔진을 사용합니다. + +- [Why is it based on compatibility with React 17?](https://lynxjs.org/api/react/index.html#react-apis) +- [JavaScript Runtime - Lynx](https://lynxjs.org/guide/scripting-runtime/index.html) + + 출시 글에는, Instant First-Frame Rendering (IFR)나 Main Thread Script에 관련한 렌더링 최적화에 대해 다루고 있습니다. + +- [Lynx: Unlock Native for More - Lynx](https://lynxjs.org/blog/lynx-unlock-native-for-more) + + +---- + +{% include inline-support.html %} + +---- + +

헤드라인

+ +---- + +## ArkType Docs: Optimized runtime validation for TypeScript syntax +[arktype.io/docs/blog/2.1](https://arktype.io/docs/blog/2.1 "ArkType Docs: Optimized runtime validation for TypeScript syntax") +

TypeScript library ReleaseNote

+ +ArkType 2.1 출시. +패턴 매치 하는 `match` API 추가, `configure`으로 키워드에 에러 메세지를 커스터마이즈 가능하도록 함 + + +---- + +## Release 0.11.0 | StyleX +[stylexjs.com/blog/v0.11.0](https://stylexjs.com/blog/v0.11.0 "Release 0.11.0 | StyleX") +

React css library ReleaseNote

+ +StyleX v0.11.0 출시. +디버그 정보 개선, CLI 캐시 개선 + + +---- + +## Announcing TypeScript 5.8 - TypeScript +[devblogs.microsoft.com/typescript/announcing-typescript-5-8/](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/ "Announcing TypeScript 5.8 - TypeScript") +

TypeScript ReleaseNote

+ +TypeScript 5.8 출시. +conditional return type 개선, `require(esm)` 대응, `--module node18` 추가. Node.js `--experimental-strip-types` 같이 설정하는 `--erasableSyntaxOnly` 플래그 추가, `--libReplacement` 플래그 추가 + + +---- + +## Release 3.41.0 - 2025.03.01 · zloirock/core-js +[github.com/zloirock/core-js/releases/tag/v3.41.0](https://github.com/zloirock/core-js/releases/tag/v3.41.0 "Release 3.41.0 - 2025.03.01 · zloirock/core-js") +

JavaScript polyfill ReleaseNote

+ +core-js v3.41.0 출시. +Stage 4가 된 `RegExp.escape`/Float16, Stage 1 `Math.clamp` 대응 + + +---- + +## Next.js 15.2 | Next.js +[nextjs.org/blog/next-15-2](https://nextjs.org/blog/next-15-2 "Next.js 15.2 | Next.js") +

Next.js ReleaseNote

+ +Next.js 15.2 출시. +Error Overlay 스택트레이스 게시 개선, Dev indicator 개선, `generateMetadata` 처리를 비동기 대응, Turbopack 성능 개선. +실험적 기능으로 View Transition API 대응, Node.js middleware 지원 + + +---- + +## Re.Pack 5: Mobile Microfrontends, 5x Faster, Less Configuration - Re.Pack +[re-pack.dev/blog/repack-5-release](https://re-pack.dev/blog/repack-5-release "Re.Pack 5: Mobile Microfrontends, 5x Faster, Less Configuration - Re.Pack") +

React Native bundler ReleaseNote

+ +React Native 대상 빌드 도구 Re.Pack 5 출시. +webpack 대신 Rspack 이용, Module Federation 대응 + + +---- + +## Release pnpm 10.5 · pnpm/pnpm +[github.com/pnpm/pnpm/releases/tag/v10.5.0](https://github.com/pnpm/pnpm/releases/tag/v10.5.0 "Release pnpm 10.5 · pnpm/pnpm") +

pnpm ReleaseNote

+ +pnpm v10.5.0 출시. +`package.json`에 분산된 `pnpm.*` 설정을 `pnpm-workspace.yaml`에 얹도록 변경 + + +---- + +## Chrome 134  |  Release notes  |  Chrome for Developers +[developer.chrome.com/release-notes/134](https://developer.chrome.com/release-notes/134 "Chrome 134  |  Release notes  |  Chrome for Developers") +

Chrome ReleaseNote

+ +Chrome 134 출시. +`