Published on

2021-12-1-前端快报

Authors
  • avatar
    Name
    noodles
    每个人的花期不同,不必在乎别人比你提前拥有

aspect-ratio CSS property

通过aspect-ratio可以直接为容器设置宽高比

React

Using WebAssembly (created in Rust) for Fast React Components

一篇React结合WebAssembly的介绍文章

A Visual Guide to React Rendering -xxx

很不错的介绍react相关api和基本概念的文档

Introducing Svelte, and Comparing Svelte with React and Vue

一篇介绍Svelte与react和vue的对比文章,通过这篇文章发现Svelte的确在某些情况较react/vue有一定优势,可以保持关注度

React & TypeScript: use generics to improve your types

这篇文章结合useState的例子介绍react中泛型的使用

项目设计

Creating a React component with TDD

在react项目中引入TDD的案例文章

React folder structure for enterprise level applications

React项目文件组织的推荐方式,文件的组织、文档、技术方案都是项目整体架构的一部分,需要给予关注

前端库

Bree

Bree is the best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support

React Image Crop

An image cropping tool for React with no dependencies

RxDB

RxDB是基于PouchDB的一套响应式数据库存储方案

Dexie.js

在IndexedDB基础上进行封装,提供更好用的查询api和降低IndexedDB的使用成本