短评 · ·

X 归档 2023-03-10

4 条动态 · 图 2 · 视频 0
With signals🚦 we won't have to care about "subscribtions" or using "shareReplay" and all that. That's supposed to be handled by the framework 🅰️.

With🚦in the template we don't have to care about the "subscribe" that async pipe does => our template is synchronous now.
#angular
有了 signals🚦,我们就不用再操心 “subscription” 或者 “shareReplay” 之类的了。这些本就该由框架 🅰️ 来处理。

模板里用上🚦后,我们也不必管 async pipe 背后的 “subscribe” => 模板从此是同步的了。
#angular
@Enea_Jahollari 的配图 1/1
Nx is known for providing top-notch tooling to get you up to speed. That's why we developed a dedicated Rspack Nx plugin to power your next Rspack-based #reactjs application

https://blog.nrwl.io/rspack-getting-up-to-speed-with-nx-4c34540bccf2

#rspack
Nx 以提供一流的提效工具而闻名。正因如此,我们开发了一个专门的 Rspack Nx 插件,为你下一个基于 Rspack 的 #reactjs 应用保驾护航

https://blog.nrwl.io/rspack-getting-up-to-speed-with-nx-4c34540bccf2

#rspack
If you're already using @buildWithLit SSR, we already have forwards compatiblity for streaming SSR committed ready to ship – just awaiting a release. https://t.co/LejBrt6dew
如果你已经在用 @buildWithLit 的 SSR,流式 SSR 的向前兼容代码已经提交、随时可发——只等一个新版本了。 https://t.co/LejBrt6dew
@techytacos 的配图 1/1
TypeScript source code now uses ES modules 🎉

🔹 npm package is 46% smaller
🔹 Build times reduced by 10-25% 😲

The next likely step is to ship native ESM for even more wins 👍

e.g. making the CJS entrypoint a thin wrapper around a native ESM entrypoint will save 7 MB alone 🔥 https://t.co/uIDkhFpz0E
TypeScript 源码现在改用 ES modules 了 🎉

🔹 npm 包体积缩小了 46%
🔹 构建时间减少 10-25% 😲

下一步很可能是直接发布原生 ESM,带来更多收益 👍

比如把 CJS 入口做成原生 ESM 入口的一层薄封装,光这一项就能省 7 MB 🔥 https://t.co/uIDkhFpz0E