react有必要用normalizr進(jìn)行數(shù)據(jù)規(guī)格化嗎?感覺(jué)不用也能進(jìn)行數(shù)據(jù)的修改,沒(méi)啥問(wèn)題。我平時(shí)都用lodash的assign和merge進(jìn)行合并,state = _.merge({},state,{...}},感覺(jué)多復(fù)雜的嵌套都能沒(méi)問(wèn)題,用了normalizr感覺(jué)復(fù)雜了?
react的redux有必要用normalizr嗎?
慕蓋茨4494581
2018-08-09 10:13:30