본문 바로가기

basic/Node.js

api 중복되는 값 해결하기 lodash

import _uniqBy from 'lodash/uniqBy'

_uniqBy(받아올 데이터'변수명')