# Introduction

`react-state` is a controlled nested state container designed to help write performant, consistent applications on top of React.&#x20;

### From version 6.0.0 react-state supports 2 data providers!!! 🔥

* [**Immer**](https://github.com/immerjs/immer) **(**[**here is nice blog post about it**](https://hackernoon.com/introducing-immer-immutability-the-easy-way-9d73d8f71cb3)**)**
* [**ImmutableJs**](https://github.com/immutable-js/immutable-js)

Core tenets:

* State is a single immutable data structure
* Each component gets its own peace of nested state
* State accessed with 'actions' variable under component or the `Store`, an observable of state and an observer of global state

`react-state` share same core as [`ng-state`](https://github.com/ng-state/store) so it is very beneficial for those who are not bind to one technology.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vytautaspranskunas.gitbook.io/react-state-rxjs/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
