Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一周看点@2019-03-18 ~ 2019-03-24 (7) #78

Open
whatwewant opened this issue Mar 24, 2019 · 0 comments
Open

一周看点@2019-03-18 ~ 2019-03-24 (7) #78

whatwewant opened this issue Mar 24, 2019 · 0 comments
Labels

Comments

@whatwewant
Copy link
Owner

Writing Resilient Components — Overreacted

  • 1 Don’t stop the data flow. Props and state can change, and components should handle those changes whenever they happen.
  • 2 Always be ready to render. A component shouldn’t break because it’s rendered more or less often.
  • 3 No component is a singleton. Even if a component is rendered just once, your design will improve if rendering twice doesn’t break it.
  • 4 Keep the local state isolated. Think about which state is local to a particular UI representation — and don’t hoist that state higher than necessary
  • 5 use hooks
  • tags: React,Hooks,Dan Abramov

高级前端基础-JavaScript抽象语法树AST - 掘金

  • tags: AST,抽象语法树,TypeScript

Migrating from Medium to Gatsby | no.lol - A blog by Lauren Tan

自从很早以前用了jekyll, 已经很久没管静态博客了,虽然见过不少,但是基本没使用,作为Reacter, 是时候试试了

  • tags: React,Gatsby,文章

Setting performance budgets with webpack  |  web.dev

  • Setting performance budgets with webpack,其实就是用 webpack 的 performance 配置
  • tags: Webpack,Performance

2019年大前端技术趋势深度解读 - 狼叔 | 前端之巅

  • 1 大前端
  • 2 三大框架标准化
  • 3 应用层封装进入爆发期
  • 4 PWA进入稳定期
  • 5 小程序火爆
  • 6 多端拉齐,并重用户体验
  • 7 TypeScript
  • 8 WebAssembly
  • 9 移动端
  • tags: 前端,趋势,前端 2019,2019,TypeScript,React,Vue,Angular,PWA,小程序,React Native,Flutter,WebAssembly,Egg.js,Midway.js,DI,Taro

sindresorhus/type-fest: A collection of essential TypeScript types

  • type-fest,应该内置在 TypeScript 里的类型定义,比如 Omit
  • tags: 类库

深入理解 TypeScript | 深入理解 TypeScript

  • tags: TypeScript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant