Giter VIP home page Giter VIP logo

daily's People

Contributors

qubitsky avatar

Watchers

 avatar  avatar

daily's Issues

#每日阅读# 2020-07-29

精读《函数缓存》

重点:

  • 缓存全部结果的问题:内存溢出。-> 解决:缓存最近的部分结果,或使用WeakMap
  • 必须是纯函数!
  • 没必要的场景:函数计算很快,或不怎么执行的函数

#每日阅读# 2020-07-30

Image Optimization Made Easy with Gatsby

该文章介绍了如何在 gatsby 项目中使用 gatsby-image 工具对图片做优化,其好处是

  • Lazy-loading
  • 图片有 blurred 的效果
  • 提升网页性能

作者举了一个制作 demo restaurant site (餐厅网站演示页)的列子,使用 gatsby-image 进行优化后,该网站性能跑分从 32 提升到了 65。

文章中还解释了 gastby-image 相关的 GraphQL 语句含义,其中重点是 gatsby-image 中有两种类型图片( fixed 和fluid ),以及 gatsby-image 提供了 query fragments

#每日阅读# 2020-08-06

《前端工程化:体系设计与实践》

封面

技能树

技能树

发展历史

  • Brendan Eich 10 天完成 Javascript 的设计
  • 两次变革:Ajax 和 Node.js

第一次变革:Ajax

  • 出现前:在web世界中,浏览器的任务是静态内容展示
  • 出现后:在web世界中,浏览器的任务是创造数据对用户的呈现方式

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.