-
Notifications
You must be signed in to change notification settings - Fork 7
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
[tablemin03] 프론트엔드 3주차 미션 제출합니다. #1
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확실히 리액트의 기초적인 useState, props의 개념을 어느정도 이해했다고 느껴지고, 프로젝트를 진행할때가 기대되네요. 남은 개발 코스도 화이팅해봅시다~
import js from '@eslint/js' | ||
import globals from 'globals' | ||
import react from 'eslint-plugin-react' | ||
import reactHooks from 'eslint-plugin-react-hooks' | ||
import reactRefresh from 'eslint-plugin-react-refresh' | ||
|
||
export default [ | ||
{ ignores: ['dist'] }, | ||
{ | ||
files: ['**/*.{js,jsx}'], | ||
languageOptions: { | ||
ecmaVersion: 2020, | ||
globals: globals.browser, | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
ecmaFeatures: { jsx: true }, | ||
sourceType: 'module', | ||
}, | ||
}, | ||
settings: { react: { version: '18.3' } }, | ||
plugins: { | ||
react, | ||
'react-hooks': reactHooks, | ||
'react-refresh': reactRefresh, | ||
}, | ||
rules: { | ||
...js.configs.recommended.rules, | ||
...react.configs.recommended.rules, | ||
...react.configs['jsx-runtime'].rules, | ||
...reactHooks.configs.recommended.rules, | ||
'react/jsx-no-target-blank': 'off', | ||
'react-refresh/only-export-components': [ | ||
'warn', | ||
{ allowConstantExport: true }, | ||
], | ||
}, | ||
}, | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
해당 eslint 코드는 직접 작성한 것일까요 아니면 기본 템플릿인가여?
eslint를 적용하는 연습을 하는건 지금 단계에서는 쓸모 없을지 몰라도 의미 있는 프로젝트를 진행할 경우에는 큰 도움이 될거라 생각합니당
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인해보니까 기본 템플릿인가보네여 따로 추가하신게 있는지 모르겟지만 옵션이 이것저것 많으니 이용해보시면 좋을거 같습니당
@keyframes logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
애니메이션까지 추가한게 인상적이네여 프론트에서 눈에 보이는 것 중 가장 확실한게 애니메이션이라 생각하는 편이라 잘 연습하면 조금 있어보이는(?) 개발자가 될 수 있다고 생각합니당
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거도 확인해보니까 vite에서 기본적으로 제공하는 css인거 같네여 나중에는 페이지에 이것저것 애니메이션도 추가해보면 좋을거 같습니당
const confirmLogin = (event) =>{ | ||
event.preventDefault(); | ||
if(email === User.email && pw === User.pw){ | ||
alert('로그인 성공') | ||
navigate('/succeed'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아주 간단한 로그인 기능을 잘 구현하셧네요! 다만 여기서 로그인을 성공했을 때만 Succeed 페이지로 이동할 수 있도록 앞서 배운 토큰/세션/쿠키의 개념을 이용하면 좋을거 같아여
No description provided.