diff --git a/learn-redux/.eslintrc b/learn-redux/.eslintrc index f6daa6ece..4fa47ab34 100644 --- a/learn-redux/.eslintrc +++ b/learn-redux/.eslintrc @@ -1,21 +1,23 @@ { - "ecmaFeatures": { - "jsx": true, - "modules": true - }, "env": { "browser": true, "node": true }, "parser": "babel-eslint", + "parserOptions": { + "sourceType": "module", + "ecmaFeatures": { + "jsx": true + } + }, "rules": { "quotes": [2, "single"], "strict": [2, "never"], - "babel/generator-star-spacing": 1, + "generator-star-spacing": 1, + "object-shorthand": 1, + "arrow-parens": 1, + "no-await-in-loop": 1, "babel/new-cap": 1, - "babel/object-shorthand": 1, - "babel/arrow-parens": 1, - "babel/no-await-in-loop": 1, "react/jsx-uses-react": 2, "react/jsx-uses-vars": 2, "react/react-in-jsx-scope": 2 diff --git a/learn-redux/.vscode/settings.json b/learn-redux/.vscode/settings.json new file mode 100644 index 000000000..1473386e2 --- /dev/null +++ b/learn-redux/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "eslint.options": { "configFile": ".eslintrc" } +} \ No newline at end of file diff --git a/learn-redux/client/data/comments.js b/learn-redux/client/data/comments.js index 6877c91d1..bc78ab1a6 100644 --- a/learn-redux/client/data/comments.js +++ b/learn-redux/client/data/comments.js @@ -1,301 +1,301 @@ const comments = { - "BAhvZrRwcfu":[ + 'BAhvZrRwcfu':[ { - "text":"Totally need to try this.", - "user": "heavymetaladam" + 'text':'Totally need to try this.', + 'user': 'heavymetaladam' } ], - "BAcyDyQwcXX":[ + 'BAcyDyQwcXX':[ { - "text":"Wes. WE should have lunch.", - "user": "jdaveknox" + 'text':'Wes. WE should have lunch.', + 'user': 'jdaveknox' }, { - "text":"#adults", - "user": "jdaveknox" + 'text':'#adults', + 'user': 'jdaveknox' }, { - "text":"@jdaveknox yes!", - "user": "wesbos" + 'text':'@jdaveknox yes!', + 'user': 'wesbos' }, { - "text":"😍 love Hamilton!", - "user": "willowtreemegs" + 'text':'😍 love Hamilton!', + 'user': 'willowtreemegs' } ], - "BAPIPRjQce9":[ + 'BAPIPRjQce9':[ { - "text":"Those are cute! They're like silver dollar pancakes.", - "user": "rrsimonsen" + 'text':'Those are cute! They\'re like silver dollar pancakes.', + 'user': 'rrsimonsen' }, { - "text":"I like baby pancakes but gluten free please!! I'll bring the coffee!! See you in 6 days!!!!!! πŸ˜πŸ˜›πŸ˜β™₯️", - "user": "terzisn" + 'text':'I like baby pancakes but gluten free please!! I\'ll bring the coffee!! See you in 6 days!!!!!! πŸ˜πŸ˜›πŸ˜β™₯️', + 'user': 'terzisn' }, { - "text":"... and apparently growing baby. πŸ‘€. Yum.", - "user": "henrihelvetica" + 'text':'... and apparently growing baby. πŸ‘€. Yum.', + 'user': 'henrihelvetica' }, { - "text":"@wesbos πŸ‘ my daughter is a pancake eating machine!", - "user": "brentoage" + 'text':'@wesbos πŸ‘ my daughter is a pancake eating machine!', + 'user': 'brentoage' }, { - "text":"Nice stove!", - "user": "haaps" + 'text':'Nice stove!', + 'user': 'haaps' }, { - "text":"Genius bottle use! Do you make a single batch of batter or make a lot and freeze it?", - "user": "gobananna" + 'text':'Genius bottle use! Do you make a single batch of batter or make a lot and freeze it?', + 'user': 'gobananna' }, { - "text":"@gobananna I just made a batch and put in in a FIFO bottle. Keeps in the fridge for a few days.", - "user": "wesbos" + 'text':'@gobananna I just made a batch and put in in a FIFO bottle. Keeps in the fridge for a few days.', + 'user': 'wesbos' }, { - "text":"@haaps thanks! It's a Jenn air - so nice to cool with!", - "user": "wesbos" + 'text':'@haaps thanks! It\'s a Jenn air - so nice to cool with!', + 'user': 'wesbos' }, { - "text":"Where would you go and for how long, if you had location freedom? - Greg 🌎", - "user": "world_greg" + 'text':'Where would you go and for how long, if you had location freedom? - Greg 🌎', + 'user': 'world_greg' } ], - "BAF_KY4wcRY":[ + 'BAF_KY4wcRY':[ { - "text":"Looking great Wes! I'd like to see the other side of the room too.", - "user": "axcdnt" + 'text':'Looking great Wes! I\'d like to see the other side of the room too.', + 'user': 'axcdnt' }, { - "text":"I've never caught your podcast. Have one right? Btw - they don't have a Canary pillow? 😝", - "user": "henrihelvetica" + 'text':'I\'ve never caught your podcast. Have one right? Btw - they don\'t have a Canary pillow? 😝', + 'user': 'henrihelvetica' }, { - "text":"Great way to start the year.", - "user": "pmgllc" + 'text':'Great way to start the year.', + 'user': 'pmgllc' }, { - "text":"Are there 4k monitors?", - "user": "alexbaumgertner" + 'text':'Are there 4k monitors?', + 'user': 'alexbaumgertner' }, { - "text":"@axcdnt that is where I put all the junk. I'll have to clean that side too @henrihelvetica no podcast yet! @pmgllc ohh yeah! @alexbaumgertner yep - the main one is 4K - I'm loving it", - "user": "wesbos" + 'text':'@axcdnt that is where I put all the junk. I\'ll have to clean that side too @henrihelvetica no podcast yet! @pmgllc ohh yeah! @alexbaumgertner yep - the main one is 4K - I\'m loving it', + 'user': 'wesbos' }, { - "text":"That chrome pillow. πŸ˜‰", - "user": "imagesofthisandthat" + 'text':'That chrome pillow. πŸ˜‰', + 'user': 'imagesofthisandthat' }, { - "text":"@wesbos is that the Dell 4k? The MacBook Pro powers it well? I also have a Retinaβ„’ / x1 setup as well. Very handy.", - "user": "henrihelvetica" + 'text':'@wesbos is that the Dell 4k? The MacBook Pro powers it well? I also have a Retinaβ„’ / x1 setup as well. Very handy.', + 'user': 'henrihelvetica' }, { - "text":"#minimalsetups", - "user": "wesbos" + 'text':'#minimalsetups', + 'user': 'wesbos' } ], - "_4jHytwcUA":[ + '_4jHytwcUA':[ { - "text":"that is the sound of success!", - "user": "mdxprograms" + 'text':'that is the sound of success!', + 'user': 'mdxprograms' } ], - "_zbaOlQcbn":[ + '_zbaOlQcbn':[ { - "text":"Did she get to eat her letter?", - "user": "pathiebert" + 'text':'Did she get to eat her letter?', + 'user': 'pathiebert' }, { - "text":"Nope @pathiebert! She has too much teeth now (8) so that would definitely be her first cavity πŸ˜‰", - "user": "kaitbos" + 'text':'Nope @pathiebert! She has too much teeth now (8) so that would definitely be her first cavity πŸ˜‰', + 'user': 'kaitbos' } ], - "_rmvQfQce8":[ + '_rmvQfQce8':[ { - "text":"A+", - "user": "mrjoedee" + 'text':'A+', + 'user': 'mrjoedee' }, { - "text":"I recently went to a ramen place in Philly. So amazing!", - "user": "jrtashjian" + 'text':'I recently went to a ramen place in Philly. So amazing!', + 'user': 'jrtashjian' } ], - "_ep9kiQcVy":[ + '_ep9kiQcVy':[ { - "text":"All bundled up! Where ya goin?", - "user": "sophie_and_sadie" + 'text':'All bundled up! Where ya goin?', + 'user': 'sophie_and_sadie' } ], - "_XpJcrwcSn":[ + '_XpJcrwcSn':[ { - "text":"Super congrats! That's wicked cool and looks great.", - "user": "pmgllc" + 'text':'Super congrats! That\'s wicked cool and looks great.', + 'user': 'pmgllc' }, { - "text":"real live paper magazine? woah haha. flex box is awesome though, could rage quit without it", - "user": "tjholowaychuk2" + 'text':'real live paper magazine? woah haha. flex box is awesome though, could rage quit without it', + 'user': 'tjholowaychuk2' }, { - "text":"@tjholowaychuk2 haha yes! Old school stylez!", - "user": "wesbos" + 'text':'@tjholowaychuk2 haha yes! Old school stylez!', + 'user': 'wesbos' } ], - "_KnU7MwceA":[ + '_KnU7MwceA':[ ], - "_HMejJQcY5":[ + '_HMejJQcY5':[ { - "text":"πŸ‘Œ", - "user": "t_volpe" + 'text':'πŸ‘Œ', + 'user': 't_volpe' }, { - "text":"Nice shot, mister!", - "user": "imagesofthisandthat" + 'text':'Nice shot, mister!', + 'user': 'imagesofthisandthat' } ], - "_Fq2zmwcaz":[ + '_Fq2zmwcaz':[ { - "text":"😍", - "user": "melsariffodeen" + 'text':'😍', + 'user': 'melsariffodeen' }, { - "text":"Very cool!", - "user": "ka11away" + 'text':'Very cool!', + 'user': 'ka11away' } ], - "_A2r0aQcfD":[ + '_A2r0aQcfD':[ { - "text":"Uhu!", - "user": "lucascaixeta" + 'text':'Uhu!', + 'user': 'lucascaixeta' } ], - "1rhFawccs":[ + '1rhFawccs':[ { - "text":"What's your lighting source?", - "user": "seth_mcleod" + 'text':'What\'s your lighting source?', + 'user': 'seth_mcleod' }, { - "text":"And what are you using for XLR mix adapter? I found a big price jump between $55 range and $170 range.", - "user": "pmgllc" + 'text':'And what are you using for XLR mix adapter? I found a big price jump between $55 range and $170 range.', + 'user': 'pmgllc' }, { - "text":"I still need a desk boom for mine mic. Nice upgrades", - "user": "stolinski" + 'text':'I still need a desk boom for mine mic. Nice upgrades', + 'user': 'stolinski' } ], - "pjx-gQcVi":[ + 'pjx-gQcVi':[ ], - "oTZ0zQcWt":[ + 'oTZ0zQcWt':[ { - "text":"Love the coat! Where's it from? Lol", - "user": "_lindersss" + 'text':'Love the coat! Where\'s it from? Lol', + 'user': '_lindersss' } ], - "mxKQoQcQh":[ + 'mxKQoQcQh':[ ], - "hZh6IQcfN":[ + 'hZh6IQcfN':[ { - "text":"What do we gotta do to get some :)? @wesbos", - "user": "jonasbad" + 'text':'What do we gotta do to get some :)? @wesbos', + 'user': 'jonasbad' }, { - "text":"Might drop by today - real quick. Trade you an illegal pin for these? Lol. @wesbos", - "user": "henrihelvetica" + 'text':'Might drop by today - real quick. Trade you an illegal pin for these? Lol. @wesbos', + 'user': 'henrihelvetica' }, { - "text":"I'm with @jonasbad on this. What we gotta do? :D", - "user": "datamoshr" + 'text':'I\'m with @jonasbad on this. What we gotta do? :D', + 'user': 'datamoshr' }, { - "text":"@jonasbad @datamoshr I'll post them up on my blog soon!", - "user": "wesbos" + 'text':'@jonasbad @datamoshr I\'ll post them up on my blog soon!', + 'user': 'wesbos' }, { - "text":"Want", - "user": "kamuelafranco" + 'text':'Want', + 'user': 'kamuelafranco' }, { - "text":"want!", - "user": "josemanuelxyz" + 'text':'want!', + 'user': 'josemanuelxyz' }, { - "text":"#Top", - "user": "gabrielvieira.me" + 'text':'#Top', + 'user': 'gabrielvieira.me' } ], - "fasqlQceO":[ + 'fasqlQceO':[ { - "text":"Where's lux at? πŸ’€?", - "user": "henrihelvetica" + 'text':'Where\'s lux at? πŸ’€?', + 'user': 'henrihelvetica' }, { - "text":"Love this house during the holidays! And all other times of the year...", - "user": "danielleplas" + 'text':'Love this house during the holidays! And all other times of the year...', + 'user': 'danielleplas' } ], - "VBgtGQcSf":[ + 'VBgtGQcSf':[ { - "text":"@dogsandbrew", - "user": "likea_bos" + 'text':'@dogsandbrew', + 'user': 'likea_bos' }, { - "text":"Next on my list!", - "user": "tomwalsham" + 'text':'Next on my list!', + 'user': 'tomwalsham' }, { - "text":"Is that from collective arts ?", - "user": "trevorb_91" + 'text':'Is that from collective arts ?', + 'user': 'trevorb_91' } ], - "FpTyHQcau":[ + 'FpTyHQcau':[ { - "text":"@kaitbos that vest!!! 😍", - "user": "courtneyeveline" + 'text':'@kaitbos that vest!!! 😍', + 'user': 'courtneyeveline' }, { - "text":"I just love her! @kaitbos", - "user": "kalibrix" + 'text':'I just love her! @kaitbos', + 'user': 'kalibrix' }, { - "text":"@courtneyeveline I know! My friend gave it to her and I wanted a matching one but only Lux can pull it off. She's so fancy πŸ˜‰", - "user": "kaitbos" + 'text':'@courtneyeveline I know! My friend gave it to her and I wanted a matching one but only Lux can pull it off. She\'s so fancy πŸ˜‰', + 'user': 'kaitbos' }, { - "text":"Char has that vest!!! Super cute!", - "user": "jennlensink" + 'text':'Char has that vest!!! Super cute!', + 'user': 'jennlensink' }, { - "text":"You'll have to meet her soon @kalibrix!!", - "user": "kaitbos" + 'text':'You\'ll have to meet her soon @kalibrix!!', + 'user': 'kaitbos' }, { - "text":"Haha @kaitbos so true, babies these days are sooo stylish. 😎", - "user": "courtneyeveline" + 'text':'Haha @kaitbos so true, babies these days are sooo stylish. 😎', + 'user': 'courtneyeveline' }, { - "text":"JavaScript πŸ˜„πŸ˜†πŸ™‹", - "user": "lucascaixeta" + 'text':'JavaScript πŸ˜„πŸ˜†πŸ™‹', + 'user': 'lucascaixeta' }, { - "text":"That hoodie is amazing! Where did you get it?", - "user": "br11x" + 'text':'That hoodie is amazing! Where did you get it?', + 'user': 'br11x' }, { - "text":"@br11x I did a teespring a few months ago - maybe I'll do another one soon", - "user": "wesbos" + 'text':'@br11x I did a teespring a few months ago - maybe I\'ll do another one soon', + 'user': 'wesbos' } ], - "B3eiIwcYV":[ + 'B3eiIwcYV':[ { - "text":"If you get in the mood for authentic Italian pizza, check out @backspaceaustin - it'sπŸ‘ŒπŸ»", - "user": "dessie.ann" + 'text':'If you get in the mood for authentic Italian pizza, check out @backspaceaustin - it\'sπŸ‘ŒπŸ»', + 'user': 'dessie.ann' }, { - "text":"😱 jealous", - "user": "jenngbrewer" + 'text':'😱 jealous', + 'user': 'jenngbrewer' } ] }; diff --git a/learn-redux/client/data/posts.js b/learn-redux/client/data/posts.js index 50d67f075..27e15194b 100644 --- a/learn-redux/client/data/posts.js +++ b/learn-redux/client/data/posts.js @@ -1,171 +1,171 @@ const posts = [ { - "code":"BAcyDyQwcXX", - "caption":"Lunch #hamont", - "likes":56, - "id":"1161022966406956503", - "display_src":"https://scontent.cdninstagram.com/hphotos-xap1/t51.2885-15/e35/12552326_495932673919321_1443393332_n.jpg" + 'code':'BAcyDyQwcXX', + 'caption':'Lunch #hamont', + 'likes':56, + 'id':'1161022966406956503', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xap1/t51.2885-15/e35/12552326_495932673919321_1443393332_n.jpg' }, { - "code":"BAcJeJrQca9", - "caption":"Snow! β›„οΈπŸŒ¨β„οΈ #lifewithsnickers", - "likes":59, - "id":"1160844458347054781", - "display_src":"https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e35/12407344_1283694208323785_735653395_n.jpg" + 'code':'BAcJeJrQca9', + 'caption':'Snow! β›„οΈπŸŒ¨β„οΈ #lifewithsnickers', + 'likes':59, + 'id':'1160844458347054781', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e35/12407344_1283694208323785_735653395_n.jpg' }, { - "code":"BAF_KY4wcRY", - "caption":"Cleaned my office and mounted my recording gear overhead. Stoked for 2016!", - "likes":79, - "id":"1154606670337393752", - "display_src":"https://scontent.cdninstagram.com/hphotos-xpf1/t51.2885-15/e35/923995_1704188643150533_1383710275_n.jpg" + 'code':'BAF_KY4wcRY', + 'caption':'Cleaned my office and mounted my recording gear overhead. Stoked for 2016!', + 'likes':79, + 'id':'1154606670337393752', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xpf1/t51.2885-15/e35/923995_1704188643150533_1383710275_n.jpg' }, { - "code":"BAPIPRjQce9", - "caption":"Making baby pancakes for one early rising baby. β˜•οΈπŸ΄", - "likes":47, - "id":"1157179863266871229", - "display_src":"https://scontent.cdninstagram.com/hphotos-xap1/t51.2885-15/e35/12407480_1654828594805097_152207166_n.jpg" + 'code':'BAPIPRjQce9', + 'caption':'Making baby pancakes for one early rising baby. β˜•οΈπŸ΄', + 'likes':47, + 'id':'1157179863266871229', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xap1/t51.2885-15/e35/12407480_1654828594805097_152207166_n.jpg' }, { - "code":"-hZh6IQcfN", - "caption":"New Stickers just came in. I'll do another mailing in a few weeks if you want some. #javascript", - "likes":66, - "id":"1126293663140399053", - "display_src":"https://scontent.cdninstagram.com/hphotos-xap1/t51.2885-15/e35/11875511_1562439187344831_813588280_n.jpg" + 'code':'-hZh6IQcfN', + 'caption':'New Stickers just came in. I\'ll do another mailing in a few weeks if you want some. #javascript', + 'likes':66, + 'id':'1126293663140399053', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xap1/t51.2885-15/e35/11875511_1562439187344831_813588280_n.jpg' }, { - "code":"-B3eiIwcYV", - "caption":"Tacos for breakfast. I love you Austin. πŸ‡ΊπŸ‡Έ", - "likes":33, - "id":"1117418173361145365", - "display_src":"https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e35/11917950_927755223968499_1198055371_n.jpg" + 'code':'-B3eiIwcYV', + 'caption':'Tacos for breakfast. I love you Austin. πŸ‡ΊπŸ‡Έ', + 'likes':33, + 'id':'1117418173361145365', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e35/11917950_927755223968499_1198055371_n.jpg' }, { - "code":"BAhvZrRwcfu", - "caption":"Tried poke for the first time at @pokehbar. Delicious! It's like a bowl of sushi", - "likes":30, - "id":"1162418651480049646", - "display_src":"https://scontent.cdninstagram.com/hphotos-xpa1/t51.2885-15/e35/12501993_1504179163220771_2060674913_n.jpg" + 'code':'BAhvZrRwcfu', + 'caption':'Tried poke for the first time at @pokehbar. Delicious! It\'s like a bowl of sushi', + 'likes':30, + 'id':'1162418651480049646', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xpa1/t51.2885-15/e35/12501993_1504179163220771_2060674913_n.jpg' }, { - "code":"BAAJqbOQcW5", - "caption":"Brunchin'", - "likes":40, - "id":"1152964002473690553", - "display_src":"https://scontent.cdninstagram.com/hphotos-xap1/t51.2885-15/e35/1516572_445736812276082_2116173059_n.jpg" + 'code':'BAAJqbOQcW5', + 'caption':'Brunchin\'', + 'likes':40, + 'id':'1152964002473690553', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xap1/t51.2885-15/e35/1516572_445736812276082_2116173059_n.jpg' }, { - "code":"_4jHytwcUA", - "caption":"2015 can be summed up with one baby and a many lines of code. And sometimes a coding baby. πŸ‘ΆπŸΌβŒ¨", - "likes":62, - "id":"1150824171912152320", - "display_src":"https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e35/10723795_1149927178351091_1859033096_n.jpg" + 'code':'_4jHytwcUA', + 'caption':'2015 can be summed up with one baby and a many lines of code. And sometimes a coding baby. πŸ‘ΆπŸΌβŒ¨', + 'likes':62, + 'id':'1150824171912152320', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/e35/10723795_1149927178351091_1859033096_n.jpg' }, { - "code":"_zbaOlQcbn", - "caption":"Lekker Chocoladeletter", - "likes":52, - "id":"1149382879529256679", - "display_src":"https://scontent.cdninstagram.com/hphotos-xfp1/t51.2885-15/e35/12346073_1035047523184672_768982339_n.jpg" + 'code':'_zbaOlQcbn', + 'caption':'Lekker Chocoladeletter', + 'likes':52, + 'id':'1149382879529256679', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xfp1/t51.2885-15/e35/12346073_1035047523184672_768982339_n.jpg' }, { - "code":"_rmvQfQce8", - "caption":"Just discovered the #hamont farmers market has a new ramen place! 🍜", - "likes":35, - "id":"1147180903383025596", - "display_src":"https://scontent.cdninstagram.com/hphotos-xft1/t51.2885-15/e35/12331739_1671776806423597_995664526_n.jpg" + 'code':'_rmvQfQce8', + 'caption':'Just discovered the #hamont farmers market has a new ramen place! 🍜', + 'likes':35, + 'id':'1147180903383025596', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xft1/t51.2885-15/e35/12331739_1671776806423597_995664526_n.jpg' }, { - "code":"_ep9kiQcVy", - "caption":"⛄️", - "likes":64, - "id":"1143535906423162226", - "display_src":"https://scontent.cdninstagram.com/hphotos-xft1/t51.2885-15/e35/12354078_447337935474115_1484398925_n.jpg" + 'code':'_ep9kiQcVy', + 'caption':'⛄️', + 'likes':64, + 'id':'1143535906423162226', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xft1/t51.2885-15/e35/12354078_447337935474115_1484398925_n.jpg' }, { - "code":"_XpJcrwcSn", - "caption":"6 page spread on flexbox in this months netmag!", - "likes":74, - "id":"1141561999742846119", - "display_src":"https://scontent.cdninstagram.com/hphotos-xfp1/t51.2885-15/e35/12362588_1688046211438811_1395882545_n.jpg" + 'code':'_XpJcrwcSn', + 'caption':'6 page spread on flexbox in this months netmag!', + 'likes':74, + 'id':'1141561999742846119', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xfp1/t51.2885-15/e35/12362588_1688046211438811_1395882545_n.jpg' }, { - "code":"_KnU7MwceA", - "caption":"Hanging out in my office waiting for 5:00 beers to come around.", - "likes":54, - "id":"1137894817632733056", - "display_src":"https://scontent.cdninstagram.com/hphotos-xfp1/t51.2885-15/e35/12301208_1533749386944985_1334730917_n.jpg" + 'code':'_KnU7MwceA', + 'caption':'Hanging out in my office waiting for 5:00 beers to come around.', + 'likes':54, + 'id':'1137894817632733056', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xfp1/t51.2885-15/e35/12301208_1533749386944985_1334730917_n.jpg' }, { - "code":"_HMejJQcY5", - "caption":"Today I learned that a long pull espresso is called a 'lungo'", - "likes":18, - "id":"1136932306813044281", - "display_src":"https://scontent.cdninstagram.com/hphotos-xft1/t51.2885-15/e35/12357319_493317964181479_310198908_n.jpg" + 'code':'_HMejJQcY5', + 'caption':'Today I learned that a long pull espresso is called a \'lungo\'', + 'likes':18, + 'id':'1136932306813044281', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xft1/t51.2885-15/e35/12357319_493317964181479_310198908_n.jpg' }, { - "code":"_Fq2zmwcaz", - "caption":"Awesome hand lettered gift from @eunibae and the HackerYou crew.", - "likes":48, - "id":"1136502965197194931", - "display_src":"https://scontent.cdninstagram.com/hphotos-xfp1/t51.2885-15/e35/12317458_1692845870986430_331905833_n.jpg" + 'code':'_Fq2zmwcaz', + 'caption':'Awesome hand lettered gift from @eunibae and the HackerYou crew.', + 'likes':48, + 'id':'1136502965197194931', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xfp1/t51.2885-15/e35/12317458_1692845870986430_331905833_n.jpg' }, { - "code":"_A2r0aQcfD", - "caption":"Some serious hardware meet JavaScript hacks going down this week at hackeryou. Excited for demo day!", - "likes":57, - "id":"1135147611821557699", - "display_src":"https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e35/12276809_750065668431999_184252508_n.jpg" + 'code':'_A2r0aQcfD', + 'caption':'Some serious hardware meet JavaScript hacks going down this week at hackeryou. Excited for demo day!', + 'likes':57, + 'id':'1135147611821557699', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e35/12276809_750065668431999_184252508_n.jpg' }, { - "code":"-1rhFawccs", - "caption":"Some major audio upgrades coming to my next videos 😍", - "likes":39, - "id":"1132002270913873708", - "display_src":"https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e35/12331333_1650987978502155_1162510634_n.jpg" + 'code':'-1rhFawccs', + 'caption':'Some major audio upgrades coming to my next videos 😍', + 'likes':39, + 'id':'1132002270913873708', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e35/12331333_1650987978502155_1162510634_n.jpg' }, { - "code":"-pjx-gQcVi", - "caption":"My baby and me. Thanks to @bearandsparrow for this one.", - "likes":81, - "id":"1128590547628442978", - "display_src":"https://scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/e35/12298962_863814057068027_460827278_n.jpg" + 'code':'-pjx-gQcVi', + 'caption':'My baby and me. Thanks to @bearandsparrow for this one.', + 'likes':81, + 'id':'1128590547628442978', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/e35/12298962_863814057068027_460827278_n.jpg' }, { - "code":"-oTZ0zQcWt", - "caption":"It's too early. Send coffee.", - "likes":81, - "id":"1128237044221461933", - "display_src":"https://scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/e35/12328347_990748230999662_1512917342_n.jpg" + 'code':'-oTZ0zQcWt', + 'caption':'It\'s too early. Send coffee.', + 'likes':81, + 'id':'1128237044221461933', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/e35/12328347_990748230999662_1512917342_n.jpg' }, { - "code":"-mxKQoQcQh", - "caption":"They both have figured it out. #lifewithsnickers", - "likes":47, - "id":"1127804966031967265", - "display_src":"https://scontent.cdninstagram.com/hphotos-xtp1/t51.2885-15/e35/12256736_1758525004381641_1136705181_n.jpg" + 'code':'-mxKQoQcQh', + 'caption':'They both have figured it out. #lifewithsnickers', + 'likes':47, + 'id':'1127804966031967265', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xtp1/t51.2885-15/e35/12256736_1758525004381641_1136705181_n.jpg' }, { - "code":"-fasqlQceO", - "caption":"Kaitlin decorated the house for the Christmas. So gezellig! #casabos", - "likes":46, - "id":"1125735850454402958", - "display_src":"https://scontent.cdninstagram.com/hphotos-xpt1/t51.2885-15/e35/12277581_1028556737218368_1184190781_n.jpg" + 'code':'-fasqlQceO', + 'caption':'Kaitlin decorated the house for the Christmas. So gezellig! #casabos', + 'likes':46, + 'id':'1125735850454402958', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xpt1/t51.2885-15/e35/12277581_1028556737218368_1184190781_n.jpg' }, { - "code":"-VBgtGQcSf", - "caption":"Trying the new Hamilton Brewery beer. Big fan.", - "likes":27, - "id":"1122810327591928991", - "display_src":"https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e35/12224456_175248682823294_1558707223_n.jpg" + 'code':'-VBgtGQcSf', + 'caption':'Trying the new Hamilton Brewery beer. Big fan.', + 'likes':27, + 'id':'1122810327591928991', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/e35/12224456_175248682823294_1558707223_n.jpg' }, { - "code":"-FpTyHQcau", - "caption":"I'm in Austin for a conference and doing some training. Enjoying some local brew with my baby.", - "likes":82, - "id":"1118481761857291950", - "display_src":"https://scontent.cdninstagram.com/hphotos-xpt1/t51.2885-15/e35/11326072_550275398458202_1726754023_n.jpg" + 'code':'-FpTyHQcau', + 'caption':'I\'m in Austin for a conference and doing some training. Enjoying some local brew with my baby.', + 'likes':82, + 'id':'1118481761857291950', + 'display_src':'https://scontent.cdninstagram.com/hphotos-xpt1/t51.2885-15/e35/11326072_550275398458202_1726754023_n.jpg' } ]; diff --git a/learn-redux/client/reduxstagram.js b/learn-redux/client/reduxstagram.js index 598ea1874..306895073 100644 --- a/learn-redux/client/reduxstagram.js +++ b/learn-redux/client/reduxstagram.js @@ -1 +1,2 @@ -// let's go! +import React from 'react'; +import { Render } from 'react-dom'; \ No newline at end of file diff --git a/learn-redux/package.json b/learn-redux/package.json index ed510367b..cbef92ed8 100644 --- a/learn-redux/package.json +++ b/learn-redux/package.json @@ -7,6 +7,7 @@ "build": "npm run clean && npm run build:webpack", "test": "NODE_ENV=production mocha './tests/**/*.spec.js' --compilers js:babel-core/register", "clean": "rimraf dist", + "lint": "eslint client/**/*.js devServer.js --ignore-pattern '!node_modules/*'", "start": "node devServer.js", "tunnel": "browser-sync start --proxy localhost:7770 --tunnel wesbos" }, @@ -19,7 +20,7 @@ "homepage": "https://github.com/wesbos/Learn-Redux", "dependencies": { "babel-core": "^6.7.7", - "babel-eslint": "^6.0.4", + "babel-eslint": "^8.2.1", "babel-loader": "^6.2.4", "babel-plugin-react-transform": "^2.0.2", "babel-plugin-transform-object-rest-spread": "^6.6.5", @@ -28,8 +29,8 @@ "babel-preset-es2015": "^6.6.0", "babel-preset-react": "^6.5.0", "css-loader": "^0.23.1", - "eslint": "^2.9.0", - "eslint-plugin-babel": "^3.2.0", + "eslint": "^4.0.0-rc.0", + "eslint-plugin-babel": "^4.1.2", "eslint-plugin-react": "^5.0.1", "express": "^4.13.4", "raven-js": "^2.3.0",