Sunday, March 19, 2017

Learning React - books and tutorials

https://www.youtube.com/watch?v=-AbaV3nrw6E&list=PL6gx4Cwl9DGBuKtLgPR_zWYnrwv-JllpA this is a cool simple tutorial showing you the basics of React programming.

You can also go through the examples here https://facebook.github.io/react/docs/installation.html using Codepen.

I had a look at these 2 books: https://leanpub.com/the-road-to-learn-react and http://www.apress.com/us/book/9781484212462 but I found the first is just a bunch of notes put quickly together without much explanation and conceptualization, the second on the opposite too complex and verbose and not straight to the point.

I am increasingly turning to videos to learn new "technologies", especially videos which show real-time coded examples accompanied by explanation - they are definitely more expressive than traditional static written information with code snippets.

Incidentally this site http://todomvc.com/ is quite cool, it showcases a huge collection of frameworks to implement the same application.... it's scary that there are so many products out there.... my impression is that IT is becoming more and more a titanic mess without standards.


https://lostechies.com/derekgreer/2017/05/25/hello-react-a-beginners-setup-tutorial/

I have gone through all the 13 steps to get a simple "hello world" application running.... and it still fails with error messages that nobody can possibly understand.
Then as suggested in the comment I do

npm install -g create-react-app
create-react-app my-app
cd my-app/
npm start

and it works..... but I do
ls -1 node_modules/ | wc -l
1009

1009 modules installed to run a HELLO WORLD application ?????

it's crazy that in 2018 the Planet relies on such unstable piggish and messy products to power the Web....
something is really wrong in IT...





No comments: