阿卡琳 (@magic_akari) 's Twitter Profile
阿卡琳

@magic_akari

Core member of @swc_rs |All opinions are my own |🦀

ID: 747390031

linkhttps://github.com/magic-akari calendar_today09-08-2012 15:09:12

832 Tweet

1,1K Followers

138 Following

阿卡琳 (@magic_akari) 's Twitter Profile Photo

🚀 Today's Cargo tip! 🦀 Missing `pnpm why` from your Node.js days? Add this to your .cargo/config.toml and run `cargo why <crate>` to trace why a crate is in your dependency tree! 🔍

🚀 Today's Cargo tip! 🦀
Missing `pnpm why` from your Node.js days? 
Add this to your .cargo/config.toml and run `cargo why &lt;crate&gt;` to trace why a crate is in your dependency tree! 🔍
阿卡琳 (@magic_akari) 's Twitter Profile Photo

Today's JS tip: In classes, it's OK to use the string literal `"constructor"` for the constructor method — but computed properties like `["constructor"]` become regular class methods.

Today's JS tip: In classes, it's OK to use the string literal `"constructor"` for the constructor method — but computed properties like `["constructor"]` become regular class methods.
阿卡琳 (@magic_akari) 's Twitter Profile Photo

Today I learned: Did you assume the self-closing `/>` in JSX is a single, indivisible token? Actually, the following code is perfectly valid JSX

Today I learned: Did you assume the self-closing `/&gt;` in JSX is a single, indivisible token? 
Actually, the following code is perfectly valid JSX
阿卡琳 (@magic_akari) 's Twitter Profile Photo

CJK's YYYYMMDD remains the most logical date format — it silences the month/day order debate and sorts like an absolute breeze.

阿卡琳 (@magic_akari) 's Twitter Profile Photo

TypeScript's old behavior didn't match the ECMAScript specification. You can fix this by enabling verbatimModuleSyntax in your tsconfig.

TypeScript's old behavior didn't match the ECMAScript specification.
You can fix this by enabling verbatimModuleSyntax in your tsconfig.
Neverland (@jait_chen) 's Twitter Profile Photo

Super excited for the upcoming Rsbuild 1.5. We're enabling several Rspack experimental features by default: ⚡ Barrel file optimization → faster builds ✨ Lazy compilation for dynamic imports → faster dev startup 🎯 Inline const for TS enums → smaller bundles

Super excited for the upcoming Rsbuild 1.5. We're enabling several Rspack experimental features by default:

⚡ Barrel file optimization → faster builds
✨ Lazy compilation for dynamic imports → faster dev startup
🎯 Inline const for TS enums → smaller bundles
阿卡琳 (@magic_akari) 's Twitter Profile Photo

前端编译打包构建,node 与原生(C++/rust)的 FFI 交互也有实践。 挂在置顶就表示我仍然在看机会