Fork me on GitHub

Other articles


  1. Introducing JSX

    Published: Thu 01 February 2018
    Updated: Thu 01 February 2018
    By Yunseop Song

    In react.

    const element = <h1>Hello, World!</h1>
    

    이것은 Javascript인가 HTML인가...
    둘다 아니고 JSX라는 것이다.

    약간 확장된 Javascript라고 이해하면 된다.

    Why JSX?

    React는 렌더링 로직이 다른 UI 로직과의 연결을 고민했다.

    이를 위해 별도의 파일에 마크업이나 로직을 넣어서 기능을 분리하는 대신 느슨한 결합으로 문제를 해결하려고 JSX를 사용한 Component 개념을 만들었다 …

    read more

    There are comments.

links

social