Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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.
 
PREVIOUS NEXT
Tagged: #component #container #react
ADD COMMENT
Topic
Name
6+7 =