One UI component, built once as a standard web component and used unchanged in both an Angular app and a React app. It's a small proof of concept for a shared UI component library.
shared-web-component-library/: the web component (TypeScript), with Jest testsdemo-angular-host/: Angular app using the componentdemo-react-host/: React app using the component*-e2e/: Playwright end-to-end tests for each host
npx nx serve demo-angular-host
npx nx serve demo-react-host
npx nx test shared-web-component-library