Skip to content

component 정의에 대해 질문드립니다. #2

Description

@yevgnenll

안녕하세요 velopert님 리액트를 접하면서 velopert 님의 글을 읽기 시작했습니다.

리액트 컴포넌트 타입스크립트로 작성하기 를 읽으면서 React.FC, 화살표 함수를 대신해

function 사용을 권장하셨는데요

저는 function, const, class 등의 차이가 무엇이고 어떠한 기준으로 무엇을 선택해야하는지

리액트에 입문한지 1주일이 채 되지 않아 다소 혼란스럽습니다.

이와 관련되어 혹시 보신 문서가 있으시거나, 무엇으로 검색해봐야 할지 키워드라도 알려주시면 좋겠습니다.

velopert님이 글을 써주신다면, 더욱 감사하겠지만 이미 계획하신것이 있으실거 같아

링크나 키워드만 주셔도 좋겠습니다.

감사합니다 :D

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions