Skip to content

[Idea] Align to Flutter concepts: StatelessWidget and StatefulWidget #4

@venkatd

Description

@venkatd

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions