Skip to content

Commit

Permalink
docs(npm-vue): the list of benefits
Browse files Browse the repository at this point in the history
  • Loading branch information
artalar committed Oct 15, 2024
1 parent d87c180 commit e9b6b27
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/content/docs/package/npm-vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ description: Reatom adapter for Vue

Reatom integration for Vue Composition API.

Vue has simple and powerful enough primitives for state processing out of the box, refs can be created outside the component and most of the tasks are solved by it. But there are a number of issues that reatom covers better.
- Atoms has lifecycle hooks, usefull for states used in many components. It allows you to init a resource on the first subscription and dispose the resource on the last unsubscription.
- Actions help you group and better log and debug your logic. Reatom allows you to trace the entire chain of data transformations through all sync and async actions and atoms.
- Reatom is a perfect solution as a multi frontend core as it is small, powerful and already has adapters for vue, react, solid, svelte (lit and angular adapters in development).
- Reatom has very powerful primitives for describing asynchronous logic, gathering the best of rxjs, redux-saga and TanStack Query. There seem to be no alternatives here.
- Reatom has one of the largest ecosystems of any state manager and probably the most balanced. At the same time, each package is developed with a manic focus on band size and perf.

## Installation

```sh
Expand Down
7 changes: 7 additions & 0 deletions packages/npm-vue/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
Reatom integration for Vue Composition API.

Vue has simple and powerful enough primitives for state processing out of the box, refs can be created outside the component and most of the tasks are solved by it. But there are a number of issues that reatom covers better.
- Atoms has lifecycle hooks, usefull for states used in many components. It allows you to init a resource on the first subscription and dispose the resource on the last unsubscription.
- Actions help you group and better log and debug your logic. Reatom allows you to trace the entire chain of data transformations through all sync and async actions and atoms.
- Reatom is a perfect solution as a multi frontend core as it is small, powerful and already has adapters for vue, react, solid, svelte (lit and angular adapters in development).
- Reatom has very powerful primitives for describing asynchronous logic, gathering the best of rxjs, redux-saga and TanStack Query. There seem to be no alternatives here.
- Reatom has one of the largest ecosystems of any state manager and probably the most balanced. At the same time, each package is developed with a manic focus on band size and perf.

## Installation

```sh
Expand Down

0 comments on commit e9b6b27

Please sign in to comment.