I am trying to implement micro-frontends but my company is using React as the only front-end technology. I was hoping if I can do it by serving React components on a URL just as suggested in https://micro-frontends.org/ but it uses web components. Since all the ecosystem is on React can I serve a React component (and only that bundle code on a URL) like, https://my-website/components/table?theme="black".
Purpose of trying this:
- Main repo will have most of the major dependencies already loaded. (no need of repeated code like react/react-dom etc)
- Shadow DOM is creating event bubbling issues.
- There are multiple repos for each team and all of them use same component library.