短评 · ·

X 归档 2022-08-27

2 条动态 · 图 1 · 视频 1
Building a web component with @buildWithLit for an animated icon. By default, it has a loading state and can be switched programmatically to other states.
Can also be used directly in a specific state.
用 @buildWithLit 为动画图标构建了一个 web component。默认情况下它带有 loading 状态,并且可以通过编程方式切换到其他状态。
也可以直接以某个特定状态使用。
@leerob22:55原推文
TypeScript 4.9 is going to be *huge* for @nextjs.

With the release of `satisfies`, you'll get improved type safety inside `getStaticProps`/`getStaticPaths`/`getServerSideProps` as well as inside Pages.

🤯
TypeScript 4.9 对 @nextjs 来说将是*重大利好*。

随着 `satisfies` 的发布,`getStaticProps`/`getStaticPaths`/`getServerSideProps` 以及 Pages 内部的类型安全性都会得到提升。

🤯
@leerob 的配图 1/1