joeldenning / simple-single-spa-webpack-example

A simple example of how to use webpack with single-spa
MIT License
293 stars 94 forks source link

react typescript and angular 8 works now #24

Closed thelinguist closed 4 years ago

thelinguist commented 4 years ago

thanks so much for the demo repo. It was exactly was I was looking for to fully evaluate single-spa. I hope this is relevant to someone else. I heard you are a maintainer of single spa, so if this would be relevant to others and should be in another location, let me know. I'm sure you guys have quite the challenge with setting up starter single-spa projects in a variety of frameworks (and variations of those frameworks).

Framework updates/changes

React Typescript

React Typescript is my preferred flavor of React. I updated the tsconfig.json to handle typescript in react, and did some typings in the react component to make sure things were working

I also updated to the latest react version.

Angular 8

There's an app I want to convert to single-spa but this demo was in Angular 4, but the app is Angular 8. In order to get it working with Angular 8 I had to update some dependencies to later versions, see package.json changes.