I have experience of working in Ruby on Rails for more than 10 years. I have some knowledge of Javascript but I don't know React or Vue or any new JS library.
I see a lot the combination of Ruby on Rails with React so I decided I want to learn React and then maybe Vue.
So I am looking to buy a book or a course that could help me learn React (but not server side nodejs) as fast as possible.
I am looking at something where I can build a project with a medium difficulty. I tried in the past to learn Vue from some Udemy course and a book but I got bored with the pace of the resource. It was building something very simple and focused too much on Nodejs on Backend and React on Frontend.
What would you suggest? What worked for you?
It depends a little on your knowledge of CS fundamentals. If you've got a fairly good grasp, you might benefit from learning the internals of react alongside the high level functions.
I say this because idiomatic React is quite different from traditional programming. React is declaratively programming your UI, by arranging components in a tree-like structure with unidirectional data flow. Engineers with experience in more traditional OO/procedural programming (like me, when I started learning React) can often get caught in a familiarity trap. After a while, you end up doing all sorts of taboo things like passing refs down the tree or using Observables; when there are simpler idioms.
I'm not sure of any learning materials, I learn just by following normal beginner courses and being hyper inquisitive. It's probably not the fastest way but I find it fairly natural.