Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 534 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 534 Bytes

React-Ts-Boilerplate

  • React
  • Typescript
  • Styled-Components
  • Axios

Install

  
    /* Install */
    yarn
    
    /* Run */
    yarn start
  

Presentational and Container Components

It has split a component into two parts.

  • Container
  • Presenter

Container

Container only can handle data. So, it works for business logic. It renders Presenter Components.

Presenter

Presenter only focus on a view part of components. It usally is used as SFC (stateless functional components).