We currently have an app in Flutter and we may want to reuse some of our logic and pull some components out to be used as web components in web apps. However, frameworks like AngularDart and Reactify are a bit too different, which requires rethinking how to target web.
If we implemented StatefulWidget and StatelessWidget or a model similar to https://github.com/rrousselGit/flutter_hooks, swapping the UI rendering layer would become a lot simpler. The leaf components, rather than rendering Widgets would render html.
It's a rough idea for now but wanted to see what your thoughts on this were!