Ensono / Amido.Ecommerce.UI.Federated

Federated Modules Production Grade boilerplate for Next
MIT License
2 stars 0 forks source link

Refactor how initial state is generated on SSR #104

Open velvetkevorkian opened 2 years ago

velvetkevorkian commented 2 years ago

Currently the app-shell generates its initial store state with inlined middleware in server/index.tsx - this should be extracted and used consistently across the MFEs as part of the render middleware, and the render middleware should be refactored to use data passed through with the request, rather than initial options.