duytq94/flutter-chat-demo

Question: (Design related) Recommended way of Firebase[Firestore][Auth] instance state management.

ark-tik opened this issue · 7 comments

Hi,
Thanks for putting up this great project.
I'm a bit new to flutter(mobile app development) and seeing your project a bit surprised that you're not using any external package for state management. Like I've seen most people are using provider or redux or BLOC to decouple network logic from UI. And in this project most Firebase functionality is coupled with UI.
So, for a project which is supposed to scale what is the recommended way? Is the design which you've chosen is good for large scale apps too? Or are there any caveats?

Hi,
Thanks for your good advice.
This project was made from the state management library not popular as it is now, so I just maintain the main feature code without any change architecture.
Will do it in the feature when I have more time.
If you can help with a PR, very appreciate.

Thanks again for this project as so far I've leart most chat functionality with this repo and abstracted it with provider and recent cloud-functions[messaging] packages. Although I won't promise as I'm actively involved in another project but will try my best in near future to pull those additions here.

Hi all, I just apply provider to this project, please check #55
Thanks.

Thanks for the update, appreciate that.

https://github.com/adarsh927/Library-Management-System

Please check my Project. I am in class 12 and done this as a part of my project. So please help me make it more perfect.

https://github.com/adarsh927/Library-Management-System

Please check my Project. I am in class 12 and done this as a part of my project. So please help me make it more perfect.

It's a python and MySQL integrated project.