I'd say learn hooks from the beginning. Official react docs are still using class components but in a real world hooks are much more common. You can (and should) come back to class lifecycle later when you're comfortable with writing basic react code.
I believe there is beta version of react docs which is rewritten with hooks. I also heard good things about fullstackopen course.