Micro frontends - NX, Rspack, Module Federation with new Federated Types!

Поделиться
HTML-код
  • Опубликовано: 10 ноя 2024

Комментарии • 8

  • @cmichaelgraham
    @cmichaelgraham 4 месяца назад

    Fantastic video - very useful :)

  • @sirawichvoungchuy3128
    @sirawichvoungchuy3128 7 месяцев назад

    Thank you so much!. could you please give me an example about MF for Nextjs 14 ?

  • @ardithastopalli2719
    @ardithastopalli2719 6 месяцев назад

    great content !!! do you think it is possible to dynamically load the remotes ?

    • @russellcanfield
      @russellcanfield  6 месяцев назад

      It definitely is, you just need a URL for federated types in your configuration but you can dynamically load them still

    • @ardithastopalli2719
      @ardithastopalli2719 6 месяцев назад

      @@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

  • @thelostworld.thegioibilangquen
    @thelostworld.thegioibilangquen 7 месяцев назад +1

    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?

    • @russellcanfield
      @russellcanfield  7 месяцев назад +1

      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?

    • @thelostworld.thegioibilangquen
      @thelostworld.thegioibilangquen 7 месяцев назад

      @@russellcanfield I follow Rspack Discord channel every day. I tried both Webpack and Rspack. Quite difficult to choose ones :))