Open michael-markl opened 1 year ago
I set this to low-prio because we can also resolve that after release.
In worst case we will have to do a redirect to a different domain if we move the application for forms.
@michael-markl why do we need this and why is it in HighPrio after Release?
It is suboptimal to serve >2MB of javascript just for an application form.
Hm the main.js 2,2MB. don't you think we could start with route based code splitting. I really dunno how much effort this is to create a standalone app. But i don't expect the bundle size to be less than the half. And i really question if its worth to do that
I do think that less than half of the JS (and probably half of the CSS) in the bundle is used in the application form. But yes, maybe it would be less complex to start with route based code splitting.
Isn't 2MB still very little to today's standards? :/
For shipping an application form without much interactivity I'd say it's a lot of JS :D If it was a video game, I'd be fine :D (I am not saying this is a high prio task :D )
created task for code splitting https://github.com/digitalfabrik/entitlementcard/issues/1395
Extract the ApplyController.tsx into a standalone app. The result should be a