Wesley Finck

Results 5 comments of Wesley Finck

It does look like the styling is bundled already into the output of webpack, though, so it doesn't make much sense to aggregate css and then apply it directly to...

in this commit https://github.com/lightningrodlabs/acorn/pull/188/commits/af6517c5a9a4fa5da64f647aee336c278371af8e I tried to bundle all the css into one file then inject that into the shadow root style tag https://github.com/lightningrodlabs/acorn/blob/af6517c5a9a4fa5da64f647aee336c278371af8e/web/src/appletIndex.ts#L21 but it definitely is not working:...

will try out some more approaches outlined here: https://stackoverflow.com/questions/60659473/inject-css-styles-to-shadow-root-via-webpack / https://www.appsloveworld.com/reactjs/100/9/inject-css-styles-to-shadow-root-via-webpack

We are currently pausing this PR until React has been updated to 17/18. The reason being is that events inside react components were not registering within the shadow DOM. According...

with the successful bump of the react version and events working inside the shadow DOM, it seems that the remaining big issues are to do with CSS and imported assets...