본문 바로가기

개발

[Issue] Migrate react-beautiful-dnd to pragmatic-drag-and-drop

 

Migrate react-beautiful-dnd to pragmatic-drag-and-drop · Issue #4 · nulzi/CafeMemo_FE

react-beautiful-dnd는 현재 deprecated 상태의 프로젝트입니다. react-beautiful-dnd를 개발한 개발자 alexreardon씨가 새로운 프레임워크인 pragmatic-drag-and-drop로 옮긴다고 직접 언급이 되어있습니다. 그렇기 때

github.com

▲개인 프로젝트 issue

 

우선 저는 react-beautiful-dnd를 사용하고 있었기 때문에 pragmatic에서 제공하는 migration 패키지를 사용해서 진행해보겠습니다.

 

 

[Sub Issue] Use pragmatic-drag-and-drop-react-beautiful-dnd-migration

패키지 이름@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration사전 준비1. 이미 react-beautiful-dnd를 사용하고 있을 것. 새롭게 기능을 도입하는 경우 @atlaskit/pragmatic-drag-and-drop를 바로 사용하세요.2. re

nulzi-dev.tistory.com

 

현재 migration 패키지가 오류가 있어 진행이 불가한 상태로 직접 migration을 진행합니다.

 

 

[Sub Issue] Use pragmatic-drag-and-drop

직접 pragmatic-drag-and-drop 패키지를 사용해서 react-beautiful-dnd 패키지에서 migration 작업을 진행합니다. 1. 기존 react-beautiful-dnd 코드 주석 처리2. 제공되는 튜토리얼 따라서 진행-   참고https://atlassian

nulzi-dev.tistory.com

 

 

참고

공식_Pragmatic drag and drop

공식_react-beautiful-dnd migration

npm_ pragmatic-drag-and-drop-react-beautiful-dnd-migration