ENGLISH·COURSE API
    Preparing search index...

    Module

    hooks/use-enrolled-courses/use-enrolled-courses

    Functions

    enrolledCoursesServerSnapshot

    The snapshot the server renders with: always empty.

    useEnrolledCourses

    Every course the signed-in learner is enrolled in, as one snapshot of course slugs.

    enrollInCourse

    Enrolls the learner in a course, and tells every surface.