Skip to content

Code splitting discovery #138

Closed
Closed

Description

@arbrandes

Description

Create a proof-of-concept and document how to implement the code splitting requirements. See parent issue for further details.

Activity

  1. added theissue type on Jan 16, 2026
  2. arbrandes commented on Jan 16, 2026

    @arbrandes
    ContributorAuthor

    @holaontiveros, can you add your findings here, please?

  3. moved this to In Progress in frontend-baseon Jan 16, 2026
  4. holaontiveros commented on Jan 22, 2026

    @holaontiveros
    Contributor

    The code splitting works well and has been tested in two different layers at children level with React Lazy and at root level with React Router lazy atrribute

    at children level looks like this:

    Image Image

    which allows to be able to have a Suspense component to show a loader or something without issues

    at the root level looks like this:

    Image

    Which allows the lazy load of the main route and does the proper splitting

    doing a comparision between splitted and non splitted while moving from learner-dash to authn we can see that the "extra" for doing the code split magic is virtually negligible (around 11kb) and the CSS does also get splitted.

    Image
  5. arbrandes commented on Jan 23, 2026

    @arbrandes
    ContributorAuthor

    Great work! Thanks!

  6. moved this from In Progress to Done in frontend-baseon Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions