이게 무슨 일이야!

리액트 개발중 메모메모.. 본문

프론트엔드 개발/개발 팁

리액트 개발중 메모메모..

명동섞어찌개 2022. 5. 23. 14:19

 

 

 

Router - 페이지 전환 넣기

* 내가 사용하는 framer-motion 라이브러리 사용해서 페이지 라우팅 모션을 넣었기 때문에 매우 좋은 예

https://www.youtube.com/watch?v=FdrEjwymzdY&t=374s&ab_channel=PedroTech 

 

 

이런것도 쓸 수 있으나 cdn 방식을 고려하고 있어서 최대한 npm 을 자제하려고 함..

 

https://www.npmjs.com/package/react-router-page-transition

 

react-router-page-transition

Highly customizable page transition component for your your React Router. Latest version: 3.1.0, last published: 4 years ago. Start using react-router-page-transition in your project by running `npm i react-router-page-transition`. There are 5 other projec

www.npmjs.com

https://reactjsexample.com/full-page-transitions-with-react-router/

 

Full page transitions with react-router

Page transitions for react router dom. Animate your routes programmatically during navigation.

reactjsexample.com

 

 

 

에러 해결

Manifest: Line: 1, column: 1, Syntax error 

아래 글 보고 해결 (간단~!)

https://velog.io/@betterplaywon/React-02.-%EC%9A%B0%EB%8B%B9%ED%83%95%ED%83%95-%EB%A6%AC%EC%95%A1%ED%8A%B8

'프론트엔드 개발 > 개발 팁' 카테고리의 다른 글

React build 하기  (0) 2022.06.16
node 버전 낮추기 (다운그레이드 하기)  (0) 2022.06.16
[Angular 12] element 에 focus 주기  (0) 2022.06.08
로컬 서버 세팅하기 (맥)  (0) 2022.05.31
Private git clone 하기  (0) 2022.04.13
Comments