검색을 통해 https://www.reddit.com/r/reactjs/comments/phwyl0/undefined_value_from_etargetvalue/
이런 문서를 발견했고,,, 나랑 같은 문제를 가진 사람이 올린 글..
Really you shouldn't be adding arbitrary attributes to an element. If you want to add a custom attribute, prefix it with data-. Adding value to a div isn't valid HTML.
이 답변을 통해 data-value를 다시 검색하여 사용법을 알아냈다
여기서..
https://stackoverflow.com/questions/46543434/react-onclick-data-value-return-null
저사람은 다른 문제가 있어 뵜지만.. 나는
e.target.getAttribute('data-value')
의 사용법을 발췌해서 사용했더니 적용되었다. 리액트에 이런 상황이 생기는 이유가 있는지 미들웨어까지 나와있었따.
그건 시간이 없으니 다음에 알아보겠다.. 나는 다시 프로젝트하러 총총...