This channel is unique for anyone that wants to push further from beginners content. Content here is ultra high quallity. Well deserved those 50K and hope you get much much more.
@기운찬곰-k4e Жыл бұрын
I completely agree with you.
@AhmedOsama52 жыл бұрын
your channel is the most valuable to me as a frontend engineer who is interested in architecture thank you jack keep publishing these cool stuff
@ThanasisKapelonis2 жыл бұрын
This channel is pure quality. If anything, it’s underrated!
@TheRFracer2 жыл бұрын
This the best channel i found that give you opportunity to learn something more than frontend basics. I will be so happy if i ever have a mentor like Jack. Sometimes you think you know something about frontend but then you see thats a lot more that you can do ... and learn much more.
@nuitech21902 жыл бұрын
I'm glade to be part of your channel Jack. In a short months I become much better coder since I found your channel.
@philipthomas35037 ай бұрын
Excellent content but main criticism is glossing over the issue that required the use of ‘tsup’ - would’ve been nice to know why it was required, what problem it solved
@kelvindavis88082 жыл бұрын
This has been beyond helpful navigating the monorepo world. Your videos are amazing!
@jamdonut2 жыл бұрын
adding another sub to that 50k buddy. you're really hitting a niche here and helping everyone from junior to lead
@admiralicic2 жыл бұрын
One of the best content creators. This channel deserves way more subs 👍
@jherr2 жыл бұрын
Thank you! And it is getting there. :)
@echonabin2 жыл бұрын
Congrats Jack for your 50k, your content is gems for developers looking to improve their skills from mid to senior-level developers.
@vigyanhoon2 жыл бұрын
I like the honesty with which you teach all concepts. I hope you will keep on doing the same.
@gmjitendra2 жыл бұрын
Thanks you so much Jack for making this video on Module Federation. It helped me a lot for setup and understanding workflow. You well deserve. :)
@jefersoncosta26212 жыл бұрын
No Jack, THANK YOU for the great content. You deserve at least triple of this number (subs)!
@maysamtayyeb45522 жыл бұрын
Thank you Jack for your great content. You deserve those subscribers n even more!
@rucklerful2 жыл бұрын
Man, i love the micro frontends videos
@SpaghettiRealm2 жыл бұрын
Thank you, i don't use React but i still learn a lot from your videos, thank you again Jack you're awesome 😎
@rohitghodeswar112 жыл бұрын
One step more towards senior to principal consultant. Thanks Jack 😊
@al3xdodo2 жыл бұрын
You're welcome Jack! We thank you for the great stuff!! Keep going man 🚀🚀🚀
@nm6x2 жыл бұрын
Really love your content, especially module federation and micro frontends. Personal wishlist: I would like to see a collaboration with some AWS expert on 2 things: Integrating in the Mono Repo the AWS CDK Stack. Build professional, secure, robust, battle tested microfrontends. Deploying serveslessly your microfrontend and integrating it with a page with Vue, React and Angular (I know you have content on this). Building the AWS Lambda APIs with AWS CDK in your local turborepo (I like Nx more same idea). I would pay (udemy) course for this. Let's make it happen homie!
@jherr2 жыл бұрын
If you want to ping AWS DevRel I'd be happy to talk with them about it.
@nm6x2 жыл бұрын
@@jherr who or what is DevRel?
@jherr2 жыл бұрын
@@nm6x Developer Relations. AWS has a lot of these folks. But I'm currently not a big enough AWS customers to connect with these people.
@Crevulus2 жыл бұрын
@Jack Herrington what about GCP? Are they easier to work with/get in touch with?
@jherr2 жыл бұрын
@@Crevulus I haven't tried as of yet. It's only in the past three months or so that the channel has become a channel that has an audience size that might interest them. Last time I talked with Microsoft DevRel I only got a couple questions in about Maui before they weren't interested in talking anymore. So I haven't tried working with DevRel since. But the channel is bigger now.
@mani85862 жыл бұрын
Another great video from Jack...🙂
@wiberfelicity45912 жыл бұрын
Thank you, Jack. This is exactly what I've been looking for.
@brianpjweed2 жыл бұрын
Kudos and congrats on 50k!! The sub count directly reflects the great content you put together for our community! 100k by Oct?
@demiann41602 жыл бұрын
What I've seen in some learning workshops is that they separate the progress of the teached lesson by using different commits (SHAs, tags or branches) snapshots. So, by this way, the student can replay the code going from the very initial template to the final version passing through some middle state versions of the code. It is just a dumb suggestion. You content is already top-notch.
@jherr2 жыл бұрын
This is the first time I've used branches (or commits), I'll be doing that a lot more going forward.
@maiaayaaoo72 жыл бұрын
Jacky You are the best. Best wishes for your channel. Support from India.
@jherr2 жыл бұрын
Thank you!
@billycatchpole36992 жыл бұрын
Live reloading with tsup is very nice, thanks and nice find!
@janithrandeniya45042 жыл бұрын
Congratulations on 50K subscribers Jack! It’s amazing to see the channel’s growth. We’ve all learnt so much from it! Keep it up 😀
@alisonhj2 жыл бұрын
Congrats Jack! You're the best teacher I ever had!
@rikilamadrid2 жыл бұрын
I feel special. Hehe. Thanks for this man! Cheers !
@monawwarabdullah7438 Жыл бұрын
i guess micro-frontends are really underrated.
@DanielJustavino232 жыл бұрын
amazing content Jack!
@raymondsiu97322 жыл бұрын
Zustand looks pretty cool. I have also tried windowed-observable and it works well too with some extra plumbing to setup the pub sub between container and microfe.
@edentole Жыл бұрын
love your videos, keep rocking!
@zackjackson96742 жыл бұрын
Nice work Jack!
@bolt6572 Жыл бұрын
Can't believe it was just yday when Jack wanted 50k subs :D
@marcelsdev2 жыл бұрын
This is such a great video! Thanks for this
@farzadmf2 жыл бұрын
This was sooo nice! Thank you!
@rocknthesombrero16512 жыл бұрын
Congrats 🎉🎉🎉
@aminedaimallah3102 жыл бұрын
we thank you actually for this beautiful content you give us, so thanks to you a lot, to be honest, I wish if you can make a full premium course and build something like an e-commerce app with Nextjs and new techs, like graphql and typescript and so on
@ricardobedin29532 жыл бұрын
This is amazing, thank you for this video!
@ricoaw5002 жыл бұрын
I love react then come the confusion redux, but I love react again when I know zustand.
@grishavasilyan2 жыл бұрын
Thanks for your videos it's helped me much. After the first time when watched your video about micro-frontend architecture, I started actively researching that. Now I'm writing one project with that architecture and Webpack Module Federation. But I have some problems related Redux store. I created one React application designed for use in any part of project, but only in common cases, in another case, the concrete application may have its own store.
@jherr2 жыл бұрын
IMHO, your MFEs should be 95% self-contained, they should have their own independent state (whether that is Redux or not) and the only thing they should share is the user identity and the JWT.
@nazmulsisil2 жыл бұрын
Thank you very much Jack for this great content. I also have watched your videos about module federation and single spa. In our organisation we are implementing MFEs to our existing codebase but not sure if we should go with single-spa or module federation or turborepo or nx.
@aayushsharma11062 жыл бұрын
Hey, I’m also investigating towards thus direction too and I prefer module federation over single spa, one of the reason being to not e tight coupled with their framework. Turborepo and nx both are great and almost equal but turborepo is lightweight compared to nx. Both are based on mono repo concept and module federation can be used together with it. I’ll say to go for monorepos if your project is not managed by multiple teams
@janithrandeniya45042 жыл бұрын
We went through a similar exercise on our project (100+ developers) and after comparing SingleSpa, Piral, Module Federation, mono-repo and build time dependencies - we are going with Module Federation. A mono-repo would’ve been my personal preference given how the teams are structured but we had some hard requirements for teams to own their own code repositories. Our decision to go with Federation is similar to Aayush’s comment that we didn’t want to be tied to a framework at this level. Having said that the tooling, documentation and questions on StackOverflow etc are much richer for SingleSpa over Federation. There’s no right or wrong answer. I’d recommend doing small proof of concepts in each strategy and presenting it to your team. Weigh up the pros and cons and go with one! Or as Jack has shown on his channel previously, there are ways to combine some of these technologies together to unlock even more 😉
@SomeIndoGuy2 жыл бұрын
have you made a video about mantine? this UI library came out of nowhere and with such polished components as well, I'm very pleasantly surprised. Would love to learn more about it, especially on the theming side of things!
@jherr2 жыл бұрын
I have not. And you're right, it feels like it has come out of nowhere, even though it is a v4.0 framework.
@minhkhanhnguyen450 Жыл бұрын
Hi Jack. Thanks for this great video. Have you tried implementing Module Federations on Nuxt 3 project?
@jherr Жыл бұрын
I have not, if you have and you have some example source code I would love to see it.
@kemaakpala Жыл бұрын
@jherr thanks for your videos on MFe it's really helped with my understanding. I find videos easier to follow than do cs. You mentioned in your video that a centralised store isn't recommended when using redux. 7:01 I know in MFe architecture it's recommended to keep the stores isolated and use a bus as a mediator between the different apps? What are your thoughts on this? And can you explain how using zustand maintains the isolation of the store for the different micro apps.
@just-browsing Жыл бұрын
If I am using a monorepo, I don't necessarily need Micro Front-end architecture. What I would have hoped to see in this demo is NOT using a mono repo but sharing the state using zustand. That would have been exciting to see.
@rucklerful2 жыл бұрын
50 minutes of pure goodness
@lcarv202 жыл бұрын
Congratz on your subs goal. Also turborepo is from vercel not Facebook XD
@codehan2 жыл бұрын
..great content again
@diegodubon47 Жыл бұрын
can you make a video on how to deploy this 2 kinds of architectures? btw nice content :D
@zlatkoiliev89272 жыл бұрын
Great tutorial again! Love your stuff, really learning a lot! One question I have with the current implementation, how do we deploy this on AWS or GCloud for example? I guess the MFE is not aware of any localhost in the cloud env?!? So how the communication between the micro-frontends is happening on the deploy environment? Can we get a video for the deployment setup on this app please? :)
@lactobacillo792 жыл бұрын
Another fantastic tutorial Jack, just a note, why not show an example with another app made with a different framework like Vue or Angular and use the same state from zustand, which is another purpose on a MFE architecture.
@jherr2 жыл бұрын
I've done a bunch with other frameworks; kzbin.info/www/bejne/f33Fg3xqopd3b7s I have done videos on cross framework state sharing with MFEs but I used NextJS for that because it was a lot lighter weight.
@surajdutta57302 жыл бұрын
Thank you so much for this
@julianklumpers2 жыл бұрын
Nice video! I wonder what your approach will be with Vite instead of Webpack
@jherr2 жыл бұрын
It would be to use the build time dependencies. Currently. Deployed ESM is interesting, so that might change.
@AhmedOsama52 жыл бұрын
@jack herrington please make a video about next js zones
@goldydog1 Жыл бұрын
I have been watching a bunch of your module federation videos and their are all really well organized. Thanks! It does seem like this approach introduces a lot of complexity in a lot of spaces that wouldn't have the same problems in a single spa though. Do you have a video along the lines of, "Is module federation right for my team?" Or does your book discuss it?
@jherr Жыл бұрын
I definitely have a section in the book that talks about the cons of the approach and appropriate use.
@pruchay3 ай бұрын
Thank you for this awesome video. I have a question. Is it possible to have a common zustand state and extend that state in different micro frontends? I was trying to do that, but in my case, it didn't work. So maybe I did something wrong or it's impossible to achieve such things?
@shivashankarsajjan242 жыл бұрын
Hi Jack Great work :) have a question. I have Monorepo1 ( which consists Micro frontend A,Micro frontend B, Micro frontend C ) Monorepo2 (Micro frontend C,Micro frontend D, Micro frontend E ) Monorepo3 (Micro frontend F,Micro frontend G, Micro frontend H ). I want to put all these 3 monorepos into another monorepo which like a shell. How can we achieve this?
@hk_build2 жыл бұрын
Thanks for great content!! Can you make a video on micro front end where react component is exposed wich is dependent on redux store and middle wares such as redux saga???
@jherr2 жыл бұрын
Nope. I'm not going to do that because, as I believe we have discussed,. I don't think it's a good idea to have a large shared Redux store between MFEs.
@hk_build2 жыл бұрын
@@jherr yea thanks...I was thinking same not to do that 👍👍
@hk_build2 жыл бұрын
@@jherr your content is solid keep up the good work Jack
@arkadiushauke6258 Жыл бұрын
Danke!
@거누권2 жыл бұрын
You are amazing!! Thanks :)
@alexandertikhonov43892 жыл бұрын
Awesome!!!
@aayushsharma11062 жыл бұрын
Love your work jack, nice video One question here, if versioning is required for module federated apps, what will be the best approach in run time? I’m trying out promise based remotes calculation, and using fetch to get version from some text file.
@jherr2 жыл бұрын
There was some work done last year to use unpkg to version federated modules. If versioning is required, I have to wonder why runtime is also required though, the two concepts are largely in conflict.
@aayushsharma11062 жыл бұрын
@@jherr won’t it make sense to have versioned rolled out where you just control which build to take forward and rollback to last successful if failure occurs. Can you point me to a direction to look at if I’m mixing two concepts here like approaches better than this.. Thank you for responding back fast
@jherr2 жыл бұрын
@@aayushsharma1106 Here is a video on using unpkg - kzbin.info/www/bejne/kHexqYevaMuChZI
@aayushsharma11062 жыл бұрын
@@jherr great, thanks 🤘
@janithrandeniya45042 жыл бұрын
Aayush, it’s also worth taking a look at Zach Jackson’s video on the Medusa Federation dashboard. He talks about version management there and along with Jack’s video on unpkg - it’ll give you some good ideas on how to implement it on your project.
@patorikkuelekes Жыл бұрын
Great video as always! What is your theme of your terminal in vsc? Do you use zsh? (Some off topic: what do you think about warp?) Thank you!
@kevinbarns88962 жыл бұрын
For the build time configuration, do you still need to import ui to consumers ? as it's also available in games package. Also, in the same configuration, do you still need craco and the webpack breathing workaround (bootloader.js + import()) ? Thanks for the content, great video as usual, your explanation are one of the best I see on youtube.
@jherr2 жыл бұрын
You don't need to import UI unless you use it directly. And yeah, you don't need the bootstrapping, or even craco.
@jameswee2 жыл бұрын
Would you still go with Zustand nowadays considering one of their core developers has moved on to work on Jotai? Or would you just go with Recoil?
@jherr2 жыл бұрын
Yep. Although if you are talking about Dai-shi, he's been doing both Jotai and Zustand (and several others) for years.
@jameswee2 жыл бұрын
@@jherr Yep I am talking about Dai-shi, it seems you're well informed. I've seen a lot of your state management videos and I feel like the current situation is like we're stuck on a boat between two (or a few) islands if you don't want to use the traditional MobX or Redux. You either choose between Zustand/Jotai which are maintained by one core developer (plus contributors); or pick an experimental Recoil, which is backed by the React team. That's quite a hard sell for many established team.
@jherr2 жыл бұрын
@@jameswee At ~600K downloads/wk npmtrends.com/zustand I'm not too concerned about Zustands viability. Popular utilities, in my experience, get maintained.
@기운찬곰-k4e Жыл бұрын
감사합니다.
@muhammadwaqar16102 жыл бұрын
If anyone faced issue of installing zustand and mantine package please use yarn instead of pnpm or npm.Thanks
@tbb1342 жыл бұрын
thank you bro
@Ghruuul2 жыл бұрын
Do you happen to have the same thing for an Angular setup? Awesome content as always! I was also wondering if you have a way to define some kind of data contracts for federated modules (e.g. what data is passed through the store).
@jherr2 жыл бұрын
I don't. But more than likely the "Angular Architects" do. They are the primary folks driving Module Federation in the Angular space.
@omarakki7052 жыл бұрын
Great video thank you so much
@webcoderspeed9 ай бұрын
Hi Jack, can you make video on how to build two different microfrontend app and deploy them on aws s3 bucket and consume them.
@dearvivekkumar2 жыл бұрын
I am exploring the way to include micro frontend in one of my projects. Is there pattern for dealing with httpOnly cookies
@jherr2 жыл бұрын
Not sure why not. MFEs are just JS on the page.
@RodrigoMallmann12 жыл бұрын
Great Video as always. BTW, what is your vscode theme?
@jherr2 жыл бұрын
Night Wolf [black] and Operator Mono
@RodrigoMallmann12 жыл бұрын
@@jherr Cool, definitely trying that out!
@henryjao50642 жыл бұрын
I like the command prompt in your terminal. What plugins do you install?
@jherr2 жыл бұрын
just Fig
@ghazanfarkhan30682 жыл бұрын
Only for MacOS
@danielgutierrez49452 жыл бұрын
can you make an example or show me a video about how can run a MFE with an Angular like host and remote with React.. pls
@m.jagadishnaidu3859 Жыл бұрын
Managing state in same frame work/ communicating between apps in same window is not much difficult. Is there any solution to manage state in different frame works even after navigating to other component (except query params)
@jherr Жыл бұрын
You’d want to use a SPA or hold the state in local storage between route switches.
@pfcosta842 жыл бұрын
Hello Jack, awesome stuff as usual! Do you have an example of a shared UI library with CSS modules inside a mono repo solution? I would like to know what strategy you would recommend in order to build this type of library: Typescript + React + CSS modules. Would it be rollup? I've seen that tsup has experimental support for CSS modules.
@ficoprieto2 жыл бұрын
Can this approach be used to nest multiple frameworks? For example, a Vue card component encapsulating a React tab component that has tabs with content rendered by [Solid, Svelte, etc.].
@jherr2 жыл бұрын
Yes, you can. But you'd need something to bridge those worlds. SingleSPA is a good technology for that.
@VickyKumar-sd3wu2 жыл бұрын
Hi Jack, How to get type suggestions in mfes you talked about it in the video that there is a cool way for that and you will be uploading the video. But I am not able to find that in your channel
@gyurilajos722010 ай бұрын
What if the very concept of state and it's management itself is but a "broken wheel" i.e. it is not clear what it is or need be?
@remsixstudio2 жыл бұрын
Hey Jack, Why is my shell App get blank when my remote client is not live.... Tried lazy loading the remote header component inside suspense but failed.. is it the desired behaviour? Any way to avoid this ?
@jherr2 жыл бұрын
You might need an error boundary.
@garywaddell6309 Жыл бұрын
Another incredible video Jack. I did have a question. I noticed you are using TurboRepo for the shared content, is that a best practice approach? Is there value in having the shared content available via Module Federation and if so I was wondering how the context would work between an App MFE, the Shared MFE as it relates to things like the token etc? I assume state would be contained in each MFE instance by moving the Shared content to an MFE? Thanks in advance and excellent job!
@garywaddell6309 Жыл бұрын
Of course, you have answered my question already in kzbin.info/www/bejne/pJu7loCbdtpnick ... amazing Jack!! Bought your book today, excited to go through it!
@Zeestack Жыл бұрын
Hi Jack, what is the solution to deploy this app? I noticed you manually added dependencies in package.json file. I am assuming the deployment would fail when it will be installing dependencies from package.json. Would we have to publish the dependencies to npm first?
@ArunKumar-iy9se2 жыл бұрын
Hi, jack Can this approach is used for poly repo also? and If it is not please make a video on polyrepo shared state also. Thanks
@saurav_anand_ Жыл бұрын
Did tsup work for js only? I don't had Typescript in my project. Same as 16:35 Its giving the error need additional loader to handle the result.
@marcosmandamba3296 Жыл бұрын
It´s great. Thanks!
@RodrigoMallmann12 жыл бұрын
Is there any reason why you would prefer CRA over Next.js specifacally for MFE and Module Federation?
@jherr2 жыл бұрын
NextJS does some hijinks with how they load React that make it challenging use Module Federation. Zack Jackson has published some libraries that make it easier, but you have to pay for them. So for me this was the most accessible route for people to try it out.
@RodrigoMallmann12 жыл бұрын
@@jherr Thanks for the response! I was wondering if it's because Next.js uses SSR. I have to implement an MFE architecture where my exposed module is an Next.js app running on SSR
@jherr2 жыл бұрын
@@RodrigoMallmann1 Yeah, currently the only way to do that is to use the commercial NextJS plugin that supports Module Federation.
@evgenius1424_ Жыл бұрын
Do you plan do to the same with Vite?
@jherr Жыл бұрын
I’ll have a look at the MF plug-in and cover it at some point.
@danishansari57462 жыл бұрын
Just a question is there way we can implement micro frontends in Nextjs. I searched everywhere found one package paid don't know should I purchase and also there is no official docs for nextjs microfrontends. Please if anyone can help me or guide I am kind of stuck I need ssr and also microfrontends both. Nextjs offer ssr but not microfrontends, react offers microfrontends but not ssr
@jherr2 жыл бұрын
If you don't need runtime dependencies then it's very easy. In fact, the out of the box setup for TurboRepo is two NextJS applications sharing a UI library. And using that library you can share Micro-Frontend components (basically smart components). If you want to do runtime dependencies, then yes, at the moment you have to pay. I encourage you to talk with Vercel to get them to add first class support for Module Federation.
@quangnguyenvan7297 Жыл бұрын
Hey, I think just using react in your MF application is not challenging. Now i think we need a solution for MF app with reactjs one time entry app, vuejs, angular even solidjs, svelte,... And it looks like microserivce backend.
@raysk4ever11 ай бұрын
can you make some video on how we can do in turborepo?
@ayush.kumar.139072 жыл бұрын
is anyone else having problems with create-react-app not installing the app for you?
@sgermain062 жыл бұрын
What plugin shows you the size if your imports?
@sgermain062 жыл бұрын
Nevermind, I answered my own question, it's Import Cost. :P
@jherr2 жыл бұрын
Yeah, that came in with RedwoodJS and I liked it so much I just kept it.
@АнтонКовалёв-э7к Жыл бұрын
Спасибо!
@bryanltobing2 жыл бұрын
why using create react app? is this not possible with next?
@jherr2 жыл бұрын
It is possible with Next, but it requires a pay-for plugin.
@fltngmmth2 жыл бұрын
national treasure you are jackie boy… i wish you were my dad. dang it… i made it weird
@jherr2 жыл бұрын
Hahaha, ok.
@mdmathewdc Жыл бұрын
But would I deploy each micro FE independently with its own pipeline?
@jherr Жыл бұрын
Micro FEs are usually a tool for multiple teams to share UI at runtime between each other. Each team would have its own release pipeline. If you don't have multiple teams and multiple pipelines I don't really think you need MFEs.
@napapt Жыл бұрын
this does seem like an interesting topic and its well presented, issue is that a video that is over 50 min is just not for me I am sure he could fit this in 20 - 25 min with a little bit of editing... for instance: minute 7 to 8 was o pure useless ranting.
@ahammadalipk2 жыл бұрын
Nx is still far better than turboRepo as far i know, Jack, is there any reason for choosing turbo?
@jherr2 жыл бұрын
Lighter weight in this case. I've also used NX in previous videos, so I wanted to change it up.