标签: javascript reactjs redux react-redux reselect
重新选择可让我们记住一些数据并在选择器更改时更新它们。 我有2个参数,并且取决于什么参数,改变了返回确定结果。
let instanse = ([state => state.selector1, state => state.selector2],(p1,p2)=>{ //if p1 was changed return result1 //if p2 was changed return result2 })
我可以实施吗?