The purpose is to avoid waterfall when linked modules are not bundled. As a result that unbundled module still contain import statement which cause binding to be delayed, waiting for all network request from import statement to finish.
There's 2 way to register hoistmap:
Inline (preferred)
Remotely via src="" attribute
hoistmap format always be in json and must be inside <render-scope>
Name is inspired from rollup
hoistTransitiveImports
+ importmapThe purpose is to avoid waterfall when linked modules are not bundled. As a result that unbundled module still contain import statement which cause binding to be delayed, waiting for all network request from import statement to finish.
There's 2 way to register hoistmap:
src=""
attributehoistmap format always be in json and must be inside
<render-scope>
Most of the time hoistmap are not needed when the service provider support Smart Early Hints