presentation component react synta code example
Example: component vs container react
Component which is responsible for fetching data and
displaying is called smart or container components.
Data can be come from redux, any network call or third party subscription.
Dumb/presentational components are those which are responsible for
presenting view based on props received.