File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1010    "@babel/preset-env" : " ^7.2.3"  ,
1111    "@babel/preset-react" : " ^7.0.0"  ,
1212    "babel-loader" : " ^8.0.5"  ,
13+     "lodash" : " ^4.17.11"  ,
1314    "react" : " ^16.7.0"  ,
1415    "react-dom" : " ^16.7.0"  ,
1516    "webpack" : " ^4.28.1"  ,
Original file line number Diff line number Diff line change 1+ import  _  from  "lodash" ; 
2+ 
13import  React  from  "react" ; 
24
3- export  default  ( )  =>  ( 
5+ export  default  ( {  name  } )  =>  ( 
46  < > 
5-     < h1 > Welcome to this demo app</ h1 > 
7+     < h1 > Welcome to this demo app  { _ . capitalize ( name ) } </ h1 > 
68    < p > 
79      Check out the pull requests for a demo of the pull request bundle size
810      check that this app is created for.
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ import { render } from "react-dom";
33
44import  App  from  "./app" ; 
55
6- render ( < App  /> ,  document . querySelector ( "root" ) ) ; 
6+ render ( < App  name = "visitor"   /> ,  document . querySelector ( "root" ) ) ; 
Original file line number Diff line number Diff line change @@ -2522,7 +2522,7 @@ lodash.debounce@^4.0.8:
25222522  resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" 
25232523  integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= 
25242524
2525- lodash@^4.17.10 :
2525+ lodash@^4.17.10, lodash@^4.17.11  :
25262526  version "4.17.11" 
25272527  resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" 
25282528  integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments