yaseenkadir / etchedjournal

An encrypted journal where entries are etched in stone.
Apache License 2.0
0 stars 0 forks source link

Investigate state management solutions #103

Closed yaseenkadir closed 5 years ago

yaseenkadir commented 5 years ago

Need to figure out a way we can manage encrypted and unencrypted entities and how they're sent/received from the backend. And how we can interact with them on the frontend.

Requirements

yaseenkadir commented 5 years ago

Spent some time playing around with a few different solutions. See https://github.com/yaseenkadir/angular-store-experiments.

The first requirement is not specific to any specific state management solution. The second requirement is met by all state management solutions. The third requirement varies, but it looks look most of the solutions have libraries that make this possible. At the end of the day, we can manually roll this ourselves.

After playing around with a few solutions, I found mobx to be the easiest and least boilerplatey solution.