@@russellcanfield thank you for the quick reply. I put together a working example using nx and rspack, dynamic remotes and finally got the HRM working. The only thing not working is the type generation. I am not sure where to put the URL for the type generation since now that I am loading the remotes dynamically? If you could explain the topic of dynamic remotes and HRM in a microfe world would be so much appreciated. Again thank you for all the help
I tried, developed, and built very quickly but Rspack has quite a few bugs and issues. Do you think Rspack is suitable for large-scale mf projects in the future?
I think it is, its a newer tool so it will have some issues but it will be the best place to be long term - especially if you are using module federation. I'm curious what type of bugs have you encountered? Have you opened issues in the rspack repo?
Fantastic video - very useful :)
Thank you so much!. could you please give me an example about MF for Nextjs 14 ?
great content !!! do you think it is possible to dynamically load the remotes ?
It definitely is, you just need a URL for federated types in your configuration but you can dynamically load them still
@@russellcanfield thank you for the quick reply. I put together a working example using nx and rspack, dynamic remotes and finally got the HRM working. The only thing not working is the type generation. I am not sure where to put the URL for the type generation since now that I am loading the remotes dynamically? If you could explain the topic of dynamic remotes and HRM in a microfe world would be so much appreciated. Again thank you for all the help
I tried, developed, and built very quickly but Rspack has quite a few bugs and issues. Do you think Rspack is suitable for large-scale mf projects in the future?
I think it is, its a newer tool so it will have some issues but it will be the best place to be long term - especially if you are using module federation. I'm curious what type of bugs have you encountered? Have you opened issues in the rspack repo?
@@russellcanfield I follow Rspack Discord channel every day. I tried both Webpack and Rspack. Quite difficult to choose ones :))