{"id":39,"date":"2016-10-06T20:54:18","date_gmt":"2016-10-06T20:54:18","guid":{"rendered":"http:\/\/nopixels.com\/me\/?p=39"},"modified":"2016-10-06T21:01:30","modified_gmt":"2016-10-06T21:01:30","slug":"learn-javascript-in-2016","status":"publish","type":"post","link":"https:\/\/nopixels.com\/me\/learn-javascript-in-2016\/","title":{"rendered":"Learn JavaScript in 2016"},"content":{"rendered":"<blockquote><p><a href=\"https:\/\/hackernoon.com\/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.ged63xa43\">This<\/a> is really funny&#8230;<\/p>\n<p>[&#8230;]<\/p>\n<p>&#8211; Oh my god no, no one uses jQuery anymore. You should try learning React, it\u2019s 2016.<\/p>\n<p>Oh, OK. What\u2019s React?<\/p>\n<p id=\"8645\" class=\"graf graf--p graf-after--p\"><em class=\"markup--em markup--p-em\">-It\u2019s a super cool library made by some guys at Facebook, it really brings control and performance to your application, by allowing you to handle any view changes very easily.<\/em><\/p>\n<p id=\"2cd1\" class=\"graf graf--p graf-after--p\">That sounds neat. Can I use React to display data from the server?<\/p>\n<p id=\"662d\" class=\"graf graf--p graf-after--p\"><em class=\"markup--em markup--p-em\">-Yeah, but first you need to add React and React DOM as a library in your webpage.<\/em><\/p>\n<p id=\"7e9c\" class=\"graf graf--p graf-after--p\">Wait, why two libraries?<\/p>\n<p id=\"fa44\" class=\"graf graf--p graf-after--p\"><em class=\"markup--em markup--p-em\">-So one is the actual library and the second one is for manipulating the DOM, which now you can describe in JSX.<\/em><\/p>\n<p id=\"6643\" class=\"graf graf--p graf-after--p\">JSX? What is JSX?<\/p>\n<p id=\"80c7\" class=\"graf graf--p graf-after--p\"><em class=\"markup--em markup--p-em\">-JSX is just a JavaScript syntax extension that looks pretty much like XML. It\u2019s kind of another way to describe the DOM, think of it as a better HTML.<\/em><\/p>\n<p id=\"3c74\" class=\"graf graf--p graf-after--p\">What\u2019s wrong with HTML?<\/p>\n<p id=\"4cb5\" class=\"graf graf--p graf-after--p\"><em class=\"markup--em markup--p-em\">-It\u2019s 2016. No one codes HTML directly anymore.<\/em><\/p>\n<p id=\"0c81\" class=\"graf graf--p graf-after--p\">Right. Anyway, if I add these two libraries then I can use React?<\/p>\n<p id=\"e1bb\" class=\"graf graf--p graf-after--p\"><em class=\"markup--em markup--p-em\">-Not quite. You need to add Babel, and then you are able to use React.<\/em><\/p>\n<p id=\"deca\" class=\"graf graf--p graf-after--p\">Another library? What\u2019s Babel?<\/p>\n<p class=\"graf graf--p graf-after--p\">[&#8230;]<\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is really funny&#8230; [&#8230;] &#8211; Oh my god no, no one uses jQuery anymore. You should try learning React, it\u2019s 2016. Oh, OK. What\u2019s React? -It\u2019s a super cool library made by some guys &#8230;<\/p>\n","protected":false},"author":1,"featured_media":42,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":""},"categories":[1],"tags":[10,12],"_links":{"self":[{"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/posts\/39"}],"collection":[{"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":1,"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":40,"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/posts\/39\/revisions\/40"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/media\/42"}],"wp:attachment":[{"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nopixels.com\/me\/wp-json\/wp\/v2\/tags?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}