I am working on optimizing the initial page load of my Flutter web app. One path I am investigating is to reduce the binary size of main.dart.js by splitting it into parts using deferred loading.
I am using go_router which as far as I know doesn't support lazy loading. I have heard about auto_route which supposedly supports such feature but it's undocumented.