扑:我应该使用哪个状态管理?

编程入门 行业动态 更新时间:2024-10-08 14:44:56
本文介绍了扑:我应该使用哪个状态管理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我目前正在开发一个允许用户创建,编辑,删除任务的应用程序.还包括通知和身份验证.

我尝试了 GetX ,但是我发现它并不稳定,我花了很多时间在寻找解决方案.我读到有关BLoC和MobX的信息,但是我从未使用过它们.

我想知道这次最好选择什么 Getx , BLoC , MobX 或提供程序

预先感谢:_)

解决方案

根据我的说法,您应该使用provider.Provider提供了非常干净的体系结构.Provider将UI与逻辑很好地分离开来,并且不会在每次用户交互时都强制创建单独的状态,这意味着您不必编写大量的代码来处理简单的情况.

I'm currently working on a app that allow users to create, edit, delete tasks. also includes notifications and Authentication.

I tried GetX but I see that it's not stable and I'm spending much time searching for solutions. I read about BLoC and MobX but I never used them.

I want to know what's better to choose at this time Getx, BLoC, MobX or Provider

Thank in advance :_)

解决方案

According to me you should use provider. it is provide very clean architecture.Provider separates UI from logic well and does not force the creation of separate states with each user interaction, which means that often you do not have to write a large amount of code to handle a simple case.

更多推荐

扑:我应该使用哪个状态管理?

本文发布于:2023-11-28 21:50:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1644057.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:状态

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!