Fastest way I learned was to rewrite an app I was intimately familiar with in the new tech.
e.g. I wanted to move from Flutter and Firebase to Fullstack JS. So I rewrote a 20k lines app in NextJS ( typescript and everything I wanted to try out ).
Not the best way to go if all you want to learn is 1 piece of technology though.