短评 · ·

X 归档 2023-10-16

2 条动态 · 图 2 · 视频 0
William just announced canvaskit-js 🤯

Run React-Native-Skia on the web with a 20kb polyfill
Instead of the official 3mb WASM file

Runs Flutter demos, but with size reduced by 150 🤪
(almost perfectly, but still super impressive)

Also works in CRA, no need for RNW deps
William 刚刚发布了 canvaskit-js 🤯

用一个 20kb 的 polyfill 就能在 Web 上跑 React-Native-Skia
替代官方 3mb 的 WASM 文件

能跑 Flutter 演示,体积缩小了 150 倍 🤪
(几乎完美,但依然令人惊叹)

在 CRA 里也能用,无需 RNW 依赖
@sebastienlorber 的配图 1/1
Context Receivers in #Kotlin will allow to compose types in top-level functions without requiring service layers, orchestration layers or DI frameworks.

While still being able to easily swap out implementations for testing, or otherwise.

Context Receivers 2024 ✌️
#Kotlin 的 Context Receivers 让你可以在顶层函数中组合类型,而无需服务层、编排层或 DI 框架。

同时仍能轻松替换实现,方便测试或其他用途。

Context Receivers 2024 ✌️
@vergauwen_simon 的配图 1/1