JavaScript React Basics (retired) Designing Data Flow Restructuring State

Jon Snow
Jon Snow
14,008 Points

Advantages of restructuring

What I understand from the lesson is that changing Counter back to function and Player to class mean Player to become the parent of Counter so that data flow from Player to Counter. Is my understanding correct?