Skip to content

Commit

Permalink
docs: Adding API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mnasyrov committed Aug 14, 2021
1 parent d5e76f7 commit fde3b10
Show file tree
Hide file tree
Showing 9 changed files with 189 additions and 50 deletions.
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,37 @@ Reactive state and effect management with RxJS.
[![downloads](https://img.shields.io/npm/dt/rx-effects.svg)](https://www.npmjs.com/package/rx-effects)
[![types](https://img.shields.io/npm/types/rx-effects.svg)](https://www.npmjs.com/package/rx-effects)
[![licence](https://img.shields.io/github/license/mnasyrov/rx-effects.svg)](https://github.com/mnasyrov/rx-effects/blob/master/LICENSE)
[![Coverage Status](https://coveralls.io/repos/github/mnasyrov/rx-effects/badge.svg)](https://coveralls.io/github/mnasyrov/rx-effects)
[![Coverage Status](https://coveralls.io/repos/github/mnasyrov/rx-effects/badge.svg?branch=main)](https://coveralls.io/github/mnasyrov/rx-effects?branch=main)

## Table of Contents

<!-- toc -->

- [Overview](#overview)
- [Features](#features)
- [Packages](#packages)
- [Usage](#usage)
- [Installation](#installation)
- [Concepts](#concepts)
- [Example](#example)

<!-- tocstop -->

## Overview

The library provides a way to describe business and application logic using MVC-like architecture. Core elements include actions and effects, states and stores. All of them are optionated and can be used separately. The core package is framework-agnostic and can be used in different cases: libraries, server apps, web, SPA and micro-frontends apps.

The library is inspired by [MVC](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller), [RxJS](https://github.com/ReactiveX/rxjs), [Akita](https://github.com/datorama/akita), [JetState](https://github.com/mnasyrov/jetstate) and [Effector](https://github.com/effector/effector).

It is recommended to use RxEffects together with [Ditox.js] – a dependency injection container.

### Features

- Framework-agnostic
- Functional API
- Reactive state and store
- Declarative actions and effects
- Effect container
- Framework-agnostic
- Functional API
- Typescript typings

### Packages
Expand Down Expand Up @@ -231,5 +247,6 @@ export const PizzaShopComponent: FC = () => {
[rx-effects/api]: packages/rx-effects/docs/README.md
[rx-effects-react/docs]: packages/rx-effects-react/README.md
[rx-effects-react/api]: packages/rx-effects-react/docs/README.md
[ditox.js]: https://github.com/mnasyrov/ditox

&copy; 2021 [Mikhail Nasyrov](https://github.com/mnasyrov), [MIT license](./LICENSE)
10 changes: 5 additions & 5 deletions packages/rx-effects-react/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rx-effects-react

#### Defined in

[useConst.ts:5](https://github.com/mnasyrov/rx-effects/blob/21d97be/packages/rx-effects-react/src/useConst.ts#L5)
[useConst.ts:5](https://github.com/mnasyrov/rx-effects/blob/99ec474/packages/rx-effects-react/src/useConst.ts#L5)

---

Expand Down Expand Up @@ -64,7 +64,7 @@ rx-effects-react

#### Defined in

[useObservable.ts:4](https://github.com/mnasyrov/rx-effects/blob/21d97be/packages/rx-effects-react/src/useObservable.ts#L4)
[useObservable.ts:4](https://github.com/mnasyrov/rx-effects/blob/99ec474/packages/rx-effects-react/src/useObservable.ts#L4)

---

Expand All @@ -91,7 +91,7 @@ rx-effects-react

#### Defined in

[useObserver.ts:5](https://github.com/mnasyrov/rx-effects/blob/21d97be/packages/rx-effects-react/src/useObserver.ts#L5)
[useObserver.ts:5](https://github.com/mnasyrov/rx-effects/blob/99ec474/packages/rx-effects-react/src/useObserver.ts#L5)

---

Expand Down Expand Up @@ -121,7 +121,7 @@ rx-effects-react

#### Defined in

[useSelector.ts:4](https://github.com/mnasyrov/rx-effects/blob/21d97be/packages/rx-effects-react/src/useSelector.ts#L4)
[useSelector.ts:4](https://github.com/mnasyrov/rx-effects/blob/99ec474/packages/rx-effects-react/src/useSelector.ts#L4)

---

Expand All @@ -147,4 +147,4 @@ rx-effects-react

#### Defined in

[useStateQuery.ts:4](https://github.com/mnasyrov/rx-effects/blob/21d97be/packages/rx-effects-react/src/useStateQuery.ts#L4)
[useStateQuery.ts:4](https://github.com/mnasyrov/rx-effects/blob/99ec474/packages/rx-effects-react/src/useStateQuery.ts#L4)

0 comments on commit fde3b10

Please sign in to comment.