CyBear-Jinni / cbj_app

📱 CyBear Jinni App is the app to control CyBear Jinni Hub 💡 remotely from your Android, IOS and Web Browser. If you have ever wondered "Is there an open-source project to make my own smart home?", This is part of one.
https://cybearjinni.com
GNU Affero General Public License v3.0
117 stars 140 forks source link

Replacing bloc architecture with Atoms #696

Closed guyluz11 closed 1 year ago

guyluz11 commented 1 year ago

Description

Currently we are using bloc which is being implemented in application as well as in presentation.

Our use of bloc is combined with freeze package and all of this logic could be simplified using the architecture of the atom for UI elements and logic to be implemented inside of the pages with stateful widgets.

Let's make the app presentation layer easier to develop and maintain using the Atoms architecture.

Screenshots

No response

guyluz11 commented 1 year ago

I have removed bloc package. Atoms architecture content is almost nonexistent at this point, this process will happen over time.

build runner now runs faster and the app logic is easier to understand, maintenance will join with the architecture of the atom.

Thanks