Skip to content
This repository was archived by the owner on Aug 1, 2018. It is now read-only.
This repository was archived by the owner on Aug 1, 2018. It is now read-only.

Support bundle splitting without full prepare in browser #13

@ganemone

Description

@ganemone

Doing a full prepare in the browser before rendering is only required due to the current way we are doing bundle split components. To get around this, we can keep track of a singleton mapping of chunkId to load functions. On pageload, we run all the load functions for chunkIds that were rendered on the server.

We can make a similar optimization for server side renders to avoid unnecessary async microtasks by loading all the promises up front.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions