In the React Native course, I found that Mosh used an old version of Node.js and Expo. Is it okay for now?

In this course:
Node version is 12
Expo version is 3

But latest version:
Node version is 20
Expo version is 6

I would say it is ok to use a newer version. I would downgrade only if you run into errors. Alternatively if you run into errors look for solutions online.