Git Product home page Git Product logo

fa93hws.github.io's Introduction

fa93hws.github.io

fa93hws.github.io's People

Contributors

fa93hws avatar

Watchers

 avatar  avatar

fa93hws.github.io's Issues

Javascript 中的 高阶函数与 Partial Application

函数式编程有许多有意思且非常高效的抽象方式,而高阶函数与 Partial Application就是其中之一。他们能够显著的降低程序的耦合性,提高可测试性并使得函数的输入更符合逻辑。

将 hook api 用于组件间通讯

使用 React 新发布的 Hook Api (https://reactjs.org/docs/hooks-intro.html) 以及 发布-订阅者模式 实现组件间通讯. 此方法可以替代传统架构中 Redux / Mobx 所担任的角色, 并显著缩小打包体积 . 得益于 Hook Api 的灵活性, 该方法不仅可以用于全局状态管理, 也可以实例化多个用于模块内状态管理(比如mobx), 甚至可以仅用于共享一个 state. 粒度完全自由.

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.