Skip to content

Boilerplate with react-loadable v5 #103

@amangeot

Description

@amangeot

Hello,
first of all thank you for the boilerplate, it's an awesome start for codesplitting with SSR.

I was wondering if you could provide an update of the boilerplate for react-loadable v5?

The v5 provides utils to:

  • preloadAll() on server: to prefetch all components on server
  • preloadReady() on client: to wait for bundles that were used to on server before rendering on client
    with webpack plugins to abstract / hide the logic for async imports.

I believe it would make the boilerplate a bit easier to start with.

I would have liked to bring a PR but I couldn't set it up to make it work.

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