링크 🔗 - https://github.com/ye-r1/vanilla-redux
- git init
git 저장소 생성
- git add *
git 저장소에 보낼 file 선택
- git commit -m ""
commit 메세지 작성
- git remote add origin "url"
원격 저장소 연결
- git push -u origin main
git 보내기
- 기존 데이터가 손실될 수 있어서 push를 막은 경우에는 강제 push를 진행한다. (git push -u origin +main)
이후 커밋을 할 때에는 이 부분만 해줘도 된다.
javascript filter()
해당하는 값만 모아 새로운 배열로 생성한다.
const words = ['apple', 'pizza', 'candle', 'cup'];
const result = word.filter(word => word.length > 5);
json을 문자열로 변환시켜준다.
redux와 친해지는게 어렵다..
자주 반복해서 써보려 한다..ㅠㅠ