Flutter Web compile Dart ra JS (hoặc WASM) và render vào Canvas/HTML, không phải DOM thực. Lợi thế: tái sử dụng code với mobile, không cần học JS ecosystem.
Nhược điểm: bundle size ~3MB+ (nặng hơn SPA thông thường), SEO khó vì nội dung trong Canvas, tích hợp với thư viện DOM JS phức tạp hơn. Không dùng Flutter Web cho trang marketing cần SEO tốt. Phù hợp nhất cho app nội bộ, dashboard, hoặc tool cần chia sẻ code với mobile—nơi code reuse quan trọng hơn SEO.
Flutter Web compiles Dart to JS or WASM and renders to Canvas/HTML, not the real DOM.
Advantages: code reuse with mobile, no JS ecosystem friction.
Disadvantages: ~3MB+ bundle size, poor SEO (content in Canvas), complex DOM JS library integration. Avoid for SEO-heavy marketing sites. Best for internal apps, dashboards, or tools where mobile code reuse matters more than SEO.