-
[webpack build 오류] Module parse failed: Unexpected character '' (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
들어가며 개발 완료한 프로젝트의 리팩토링과 QA 수정을 진행 중인데, 리액트에서 로컬 mp4 파일을 import 하니 에러가 발생하였다. 도대체 왜! 참고링크 Webpack 3 locates .mp4 file but video is not playable Webpack 3 locates .mp4 file but video is not playable Clone this project on GitHub I've created an animation in Adobe's new Animate CC and exported it as an .mp4 file In my webpack.config.js fil... stackoverflow.com 에러 메세지 ERROR in ./src/rf/static/sample...
2021.02.19 21:54 -
Frontend TDD와 친해지기(1) - style 테스트는 도대체 어떻게?
들어가며 프론트 TDD 관련해서 학습 중인데, 진행 중인 프로젝트에서 style을 다뤄야했다. 이래저래 삽질을 많이 했는데(^^) 그 과정을 간략하게 기록하고자 한다. 참고: 현재 jest + enzyme 의 조합을 사용 중임 1. jest-styled-components 활용하려 했으나, https://github.com/styled-components/jest-styled-components styled-components/jest-styled-components 🔧 💅 Jest utilities for Styled Components. Contribute to styled-components/jest-styled-components development by creating an account on..
2021.02.14 23:32 -
[소프트 스킬: 평범한 개발자의 비범한 인생 전략 71가지] (1) ~128쪽까지
Chapter 1: 소프트웨어 개발자의 삶, 새로운 시각으로 바라보라 Part 1: 경력 Chapter 2: 다른 이들과 달리 멋지게 시작하라 Chapter 3: 목표를 설정하고 미래에 대비하라 Chapter 4: 소프트 스킬은 생각보다 중요하다 Chapter 7: 전문성을 갖춰라 Chapter 9: 승진하기 Chapter 10: 전문가 되기 Chapter 11: 이렇게 독립하라
2021.02.08 00:24 -
React Context 사용법
들어가며 회사에서 React를 사용하여 React를 공부하기 시작한지 벌써 5개월. 클래스형 컴포넌트로 state와 props의 연속으로 개발을 하다가 React Hook과 Context를 접하기 시작하며 신세계(!)를 접했었다. 그러나 Context에 대한 더 구체적이고 정확한 개념이 필요할 것 같아 Context 관련해서 정리를 해봐야겠다고 생각했다. 참고 링크: React 공식 문서(Context) Context – React A JavaScript library for building user interfaces ko.reactjs.org Why Context? 일반적인 React 애플리케이션에서는 데이터는 위에서 아래로(부모 -> 자식) props를 통해 전달되는데, 이러한 과정이 여러번 여러 ..
2021.01.03 12:44 -
Github 마지막 commit message 수정하기
들어가며 회사 업무를 마무리하며 pr을 위해 commit message를 작성하고 있었는데, 잘못 작성하여 수정하고 싶어진 상황이 생겼다. (큰 문제는 아니었지만 미묘한 차이...) commit message를 수정해본 적은 없었던 것 같아 찾아봤고 해결한 과정이다. 참고 링크: Changing a commit message(Github 문서) 가장 최근(마지막)의 커밋만 변경할 수 있는 방법이다! 텍스트 편집기를 활용하여 수정하게 되는 방법 git commit --amend 텍스트 편집기 활용 없이 바로 수정하는 방법 git commit --amend -m "new commit message" 이미 push한 이후라면 강제로(--force) push 해줘야 한다. git push --force "Hea..
2020.12.30 18:24