Open sigmundch opened 1 year ago
Related: https://github.com/dart-lang/webdev/issues/1591
If we switch to only using the FrontendServer
(or even if we don't) I think it would make sense for the FrontendServer
to be responsible for generating the necessary dill & JS files, instead of Flutter doing so.
Related to issue #1827
This could have many potential benefits, such as improved performance and scalability. However, there are also trade-offs to consider, such as the added complexity of implementing and maintaining a front-end-server, and how it would impact the development workflow.
It is also important to consider how to support sourcegen, as well as how to centralize the front-end server and make it accessible from the Dart SDK.
As mentioned in https://github.com/dart-lang/sdk/issues/50664#issuecomment-1347089380 we may want to consider whether it makes sense for webdev to switch to use a front-end-server solution for all uses, and not just for flutter.
There are many open questions to consider: