Skip to main content

React components

Every react component declaration have the same structure: receive arguments (called props) and returns its virtual dom rendered elements.

  • JSX syntax. React offers retrocompatibility. Since it was created, its initial way

  • State and Props

  • Context API

  • Class and Functional Components

  • Stateless and Stateful Components.

  • Container Components

  • HoC

  • Render Callbacks

  • One way data binding.

  • Component Agreements:

    • closed classnames prop
    • closed style prop