Skip to content

Consider using esri-loader? #1

@tomwayson

Description

@tomwayson

I like how you've isolated use of the JSAPI to middleware.

It seems like that pattern would benefit from using esri-loader rather than treating esri modules as externals and then adding the JSAPI to the page via script tag and using it to load your bundle as an AMD module. Using esri-loader should improve initial load times (especially on mobile) and would allow users of this boilerplate to adapt it for isomorphic/universal (server-side) rendering techniques if their app calls for it. You can read more about those benefits and how it works here.

Would you be open to a pull request that switches over to using esri-loader?

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