angular状态管理:ngrx vs ngxs vs akita

383

目前我发现的angular状态管理库有以下三种:

NGRX:https://ngrx.io/

NGXS:https://www.ngxs.io/

Akita:https://netbasal.gitbook.io/akita/

三者的结构机器宣称的优势:

NGRX:

ngrx的就不写了,因为后两者的优势多是相对ngrx的。

NGXS:

https://www.ngxs.io/getting-started/why

Akita:

https://engineering.datorama.com/10-reasons-why-you-should-start-using-akita-as-your-state-management-solution-66b63d033fec

 

国外三篇对比文章:

https://ordina-jworks.github.io/angular/2018/10/08/angular-state-management-comparison.html

https://medium.com/@joshblf/migrating-from-ngrx-to-ngxs-in-angular-6-ddddcdce543e

https://blog.singular.uk/why-i-prefer-ngxs-over-ngrx-df727cd868b5

留下一个答复

Please enter your comment!
Please enter your name here