ENGLISH·COURSE API
    Preparing search index...
    • Reads the learner's enrollments, places, completion marks, positions and claimed prizes once, and sorts the catalog with them.

      Parameters

      • courses: readonly CourseForView[]

        Every catalog course's view, as the page loaded them

      Returns CourseShelfReading

      The shelf, or pending before hydration

      Every learner page reads the catalog through this hook, so Available courses and My learning always agree on which course leads and which video comes next. Browser-side only.