Teaching programming via the technologies in fashion and practical for getting a job today is flawed. Teach the fundamentals - math, logic, algorithms. But, most importantly, teach how to learn and problem solve. If your students can’t figure out how to quit their editor they’re doomed in this career. Forget about React and hooks, those will be out of date by the time they’re entering the workforce.