While you should learn TensorFlow 2, it's not a bad idea to start with TensorFlow 1.x. Both TensorFlow 1.x and TensorFlow 2 have unique gems worth learning and holding onto. And it's a relatively easy transition from learning 1.x to 2.0.