rollthecloudinc / quell

Climate aware CMS breaking web apps free from carbon emissions.
https://demo.carbonfreed.app/pages/create-panel-page
GNU General Public License v3.0
14 stars 1 forks source link

React App Inside Druid Shell #235

Open windbeneathyourwings opened 2 years ago

windbeneathyourwings commented 2 years ago

Host a react app as a micro-frontend inside a druid shell using module federation.

https://levelup.gitconnected.com/micro-frontends-step-by-step-using-react-webpack-5-and-module-federation-e4b9d840ec71

I think I can just copy the code. Run it and deploy to aws then just load it into the shell using the angular arhitects module federation plugin just like with angular modules.

https://github.com/ranyelhousieny/react-microfrontends

mfe1 is the micro frontend


This is also associated with tailwind because once complete tail wind react components can be used.


create-react-app does not include webpack. Therefore, a react app needs to be created that has webpack. This looks like a good place to start.

https://www.toptal.com/react/webpack-react-tutorial-pt-1


Need to render react component in Angular app.

https://medium.com/@zacky_14189/embedding-react-components-in-angular-the-easy-way-60f796b68aef