React 튜토리얼 & 개발

Part 2

각종 자료 학습

  • Form Handling
  • Router History
  • Authentication
  • Context
  • Static variable
  • Hook
참고: Form 다루기 - 제어 컴포넌트(Controlled component), 비제어 컴포넌트(Uncontrolled component), Formik 라이브러리
https://ko.reactjs.org/docs/forms.html
React-router 기반에서 코드를 통한 페이지 전환 방법
https://reactrouter.com/web/api/Hooks/usehistory
React 합성 vs 상속 (Composition vs Inheritance)
https://ko.reactjs.org/docs/composition-vs-inheritance.html
추가
컴포넌트에서 두 개의 태그 등을 리턴하는 경우(tr 하위 2개의 td 등) - Fragement 사용 (<> </>)
https://ko.reactjs.org/docs/fragments.html
React에서는 Class static variable 선언이 가능!
https://stackoverflow.com/a/57505687/6198924
useState Hook - state 관리에 매우 도움 - 단 CLASS에서 불가!
https://ko.reactjs.org/docs/hooks-reference.html#usestate

Hook이란? Class-based에서 불가! Function-based에서 필요한 것들을 쉽게 사용할 수 있게 함
https://ko.reactjs.org/docs/hooks-overview.html

댓글

댓글 본문
버전 관리
김시준
현재 버전
선택 버전
graphittie 자세히 보기