StephanPitois / mfe-shell

mfe-shell-ten.vercel.app
2 stars 0 forks source link

🔥 Load bundles server side? #3

Closed StephanPitois closed 1 year ago

StephanPitois commented 1 year ago

Would it be possible to load the bundles on the server side? Or maybe just inline js and css instead of links? If so, rendering could be faster/smoother. Also, would this make server side rendering possible for the micro-frontends?

Look into dynamic import

Alternatively, or in addition to, look into using dynamic import: https://v8.dev/features/dynamic-import. This will require CORS setup for the MFEs though. And how would that work with client-side/server-side rendering?

StephanPitois commented 1 year ago

Not needed for now.