Redux action's as function or as constants what the difference

前端 未结 0 1061
终归单人心
终归单人心 2020-12-19 15:39

I learn Redux and wonder about this two ways of creating action(Action Creators)

NR:1

export function itemsIsLoading(bool) {
    return {
        type:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题