Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refractor the confapp to follow MVVM architecture and use Riverpod instead of BLOC #60

Open
quekyj opened this issue Dec 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@quekyj
Copy link
Contributor

quekyj commented Dec 18, 2023

Motivation

The architecture of BLOC is too complicated for confapp. It not that user friendly compared to Provider pattern (Model-View-ViewModel) pattern.

Desired solution

Refractor the state management to Riverpod Provider and Riverpod Generator. We can use MVVM structure as below:

/lib/src:
    - constant/
    - module/
        -  ui/
        - model/
        - view/
        - services/
        - provider/

The pattern above is cleaner and easier to maintain compared to cubit and BLOC.

Alternatives considered

We can just use back BLOC.

Additional details

No response

@quekyj quekyj added the enhancement New feature or request label Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant