Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14팀 황태영][Chapter 1-2] 프레임워크 없이 SPA 만들기 기본과제 완료 #84

Open
wants to merge 61 commits into
base: chapter1-2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
ddd5fa9
chore : 절대경로 설정
h2oterry Sep 29, 2024
8144573
chore : 프리티어 로컬 설정으로 저장
h2oterry Sep 29, 2024
821ee8f
style : 컴포넌트 선언 방식 애로우펑선 -> 일반함수로 변경
h2oterry Sep 29, 2024
3483f87
feat : vNode 평탄화 적용
h2oterry Sep 29, 2024
afb7f0e
feat : createElement 함수
h2oterry Sep 29, 2024
c2db753
feat : createVNode 타입가드
h2oterry Sep 29, 2024
9f01a0a
feat : Nav컴포넌트 추가
h2oterry Sep 29, 2024
1a2a863
feat : Header 컴포넌트 추가
h2oterry Sep 29, 2024
fa095f4
feat : Footer컴포넌트 추가
h2oterry Sep 29, 2024
27d76b9
feat : Layout 컴포넌트 추가
h2oterry Sep 29, 2024
e792421
feat : RootLayout 컴포넌트 추가
h2oterry Sep 29, 2024
c014876
feat : createElement 함수형 컴포넌트에 대한 처리 추가
h2oterry Sep 29, 2024
187e7dc
feat : createElement vNode 빈 값 가드 및 props전달
h2oterry Sep 29, 2024
439ce05
feat : vNode.props 속성 적용
h2oterry Sep 29, 2024
5460e79
feat : Layout, RootLayout export 추가
h2oterry Sep 30, 2024
5c184fb
feat : DocumentFragment 처리
h2oterry Sep 30, 2024
c43e4fe
feat : Layout, RootLayout jsx형식으로 변경
h2oterry Sep 30, 2024
2c77f51
reafactor : Header, Nav, Footer jsx 형식으로 변경
h2oterry Sep 30, 2024
6c40c4b
fix : 로그인 상태에 따른 nav 잘못된 조건 수정
h2oterry Sep 30, 2024
10e10ef
feat : router를 위한 data-link 추가
h2oterry Sep 30, 2024
c9df6d1
feat : Post 컴포넌트 추가
h2oterry Sep 30, 2024
8703185
feat : PostForm 컴포넌트 추가
h2oterry Sep 30, 2024
265308d
feat : createElement 컴포넌트 구조 children 처리
h2oterry Sep 30, 2024
d4cce40
feat : post props 연결
h2oterry Sep 30, 2024
5551b36
feat : HomePage 추가
h2oterry Sep 30, 2024
50b2543
feat : createElement props htmlFor 추가
h2oterry Sep 30, 2024
1fd33d5
feat : LoginPage 추가
h2oterry Sep 30, 2024
30137db
feat : 페이지 Layout 추가
h2oterry Sep 30, 2024
5ef7f09
feat : 로그인 이벤트 등록
h2oterry Sep 30, 2024
2dbf88b
feat : RootLayout 적용
h2oterry Sep 30, 2024
56f3675
feat : ProfIlePage 추가
h2oterry Sep 30, 2024
72711f8
feat : 유저 정보 기본 틀 추가
h2oterry Sep 30, 2024
cacabc0
feat : 로그인 후 기본 유저 정보 설정
h2oterry Sep 30, 2024
16cce0c
feat : ProfilePage 스테이트 연동
h2oterry Sep 30, 2024
869135c
feat : Nav 컴포넌트 로그인 상태값 연동
h2oterry Sep 30, 2024
6179ab1
feat : login form id login => login-form 변경
h2oterry Sep 30, 2024
d20015c
feat : NotFoundPage 추가
h2oterry Sep 30, 2024
5bd345d
feat : router page 형식 변경
h2oterry Sep 30, 2024
92addce
feat : textarea name id 값 설정
h2oterry Sep 30, 2024
a684e61
feat : 로그인, 프로필수정 form 통합
h2oterry Sep 30, 2024
fd0aa67
feat : 페이지 404처리
h2oterry Sep 30, 2024
1c1b597
test : 테스트 통과를 위한 className 동기화
h2oterry Sep 30, 2024
5d22845
fix : main form 함수 오타 수정
h2oterry Sep 30, 2024
3f4af02
feat : a태그 로그아웃 버튼 예외처리
h2oterry Sep 30, 2024
fba932c
chore : package-lock.json 이그노어 추가
h2oterry Sep 30, 2024
80419cd
test : 테스트 코드와 동일하게 수정
h2oterry Sep 30, 2024
2aeff6b
test : 테스트 통과용 컴포넌트, 실사용 컴포넌트 분리
h2oterry Sep 30, 2024
e9c750d
feat : createElement props 추가
h2oterry Sep 30, 2024
3ef0972
fix : vNode 0 falsy 예외처리 추가
h2oterry Oct 1, 2024
d6d4bc8
feat : processVNode 추가
h2oterry Oct 1, 2024
843db19
fix : falsy 값 자세하게
h2oterry Oct 1, 2024
c07be19
feat : crateElement__v2 임시 저장
h2oterry Oct 2, 2024
3d9dc39
feat : renderElement 함수 생성
h2oterry Oct 2, 2024
ee3fc75
test : 테스트 코드 추가
h2oterry Oct 2, 2024
0374767
feat : renderElement 추가
h2oterry Oct 3, 2024
fb7839d
feat : ErrorPage 추가
h2oterry Oct 3, 2024
f4e87df
feat :App error 분기처리
h2oterry Oct 3, 2024
d2743b7
feat : ErrorPage export 추가
h2oterry Oct 3, 2024
7b526b9
feat : renderElement, eventManger 추가 및 적용
h2oterry Oct 3, 2024
c072eeb
fix : ErrorPage createVNode 누락된것 추가
h2oterry Oct 3, 2024
671f37a
fix : updateAttributes oldProps, newProps 따로 처리
h2oterry Oct 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"plugins": [
["@babel/plugin-transform-react-jsx", {
"pragma": "createVNode",
}]
[
"@babel/plugin-transform-react-jsx",
{
"pragma": "createVNode"
}
]
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ dist
dist-ssr
*.local

package-lock.json

# Editor directories and files
.vscode/*
!.vscode/extensions.json
Expand Down
22 changes: 11 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>항해플러스 SNS</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>항해플러스 SNS</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading
Loading