- Elice | Frontend Development Internship ( 2024.03 - 2024.06 )
- DND 9th ( 2023.07 - 2023.08 )
- Gachon University ( 2019.03 - )
-
used as the main
-
used at least once
나만의 가계부 프로젝트
Home Page: https://account-book-chi.vercel.app/
1일차
$ npx create-react-app "(폴더 이름)"
github에서 repository 생성
github repository
git 초기화
$ git init
$ git remote add origin (repository주소)
$ npm install node-sass
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/reset.min.css"> 추가
렌더링 -> 입력값을 바꿀때는 렌더링 안하고, 제출 할 때만 렌더링
state값을 input value에 연결했기에, state값이 변할때마다 렌더링이됨 => 어쩔 수없음. 매번 안하게 하려면 useref를 이용해야함
삭제버튼 만들기(fetch - DELETE)
has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
계속 위와 같은 정책 오류 뜸. fetch DELETE in React 계속 알아봤지만 해결이 안 됨.
=> GET,POST에서 주소 뒤에 .json붙힌 것을 보고 .json을 주소 뒤에 붙히니 해결
input입력할 때 모든 것이 화면의 모든 것이 리랜더링됨
=> Item 컴포넌트에 React.memo로 해결
일지달력에 해당 날짜를 찾아서 해당 지출이 나오도록 설정
참조한 것
for in문 ; index반환
for of문 ; 값 반환(python의 for문과 동일)
=> 배열로 만들어서, 어거지로 화면 출력은 성공 but edit를 어떻게 해야할지 감이 안잡힘
fetch에서 수정은 어떻게 ?
ADD ; POST / DELETE ; DELETE가 있음.
EDIT ; ??
-> 일단 DELETE와 ADD로 만듬
-> 매우 비효율적(fetch 너무 많이함)
-> 손 볼 필요 있음
EditForm의 Input에 입력을 해도 변화가 안일어남
=> input 속성에 name을 지정하니 해결됨
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.