feature-hub
feature-hub copied to clipboard
Support Chunking in Feature App
To support chunking in feature apps, the AsyncSsrManager
must support adding chunk urls to the list of necessary asset urls needed to be loaded before hydration. The necessary chunks need to be identified by the feature app by using loadable components or a similar technology. These urls are communicated via AsyncSsrManager
to the integrator to include them in the html.
@stemey would this be a possible path forward (using module federation) and React: https://www.ebey.me/blog/webpack-federation-ssr? Also would need to use v18 of React which will hopefully be in beta here in the next couple of months.