Skip to content

解构应是 ES6 的特性而不是 ES5 的特性 #50

Description

@etbox

// 它看上去是这样 (为了可读性使用 ES5 语法书写该函数):
var thunkMiddleware = function ({ dispatch, getState }) {

虽然原文也写的也是 ES5

https://github.com/happypoulp/redux-tutorial/blob/9619c7716d1efb29ec39cebf9dfe56f5bc839e8c/09_middleware.js#L59-L61

但还是要实事求是嘛,不能误人子弟

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions