> For the complete documentation index, see [llms.txt](https://neue-moderne.gitbook.io/redux-sands/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://neue-moderne.gitbook.io/redux-sands/master/api-1/constructor.md).

# constructor

Instantiate a new wrapper by providing arguments as values in an object.

## Params

{% tabs %}
{% tab title="Required" %}

### called

Provide a unique id for the wrapper in your app's namespace. Required for namespacing every added reducer/state.

```javascript
// Example:

import ReduxWrapper from "redux-sands";

const demoWrapper = new ReduxWrapper({ called: "demo" });
```

{% endtab %}

{% tab title="Optional" %}

### component

React-component to connect to. Can be provided during init or via `add`.

```javascript
// Example (Using ES6):

import ReduxWrapper from "redux-sands";
import component from "./component";

const demoWrapper = new ReduxWrapper({ called: "demo", component });
```

{% endtab %}
{% endtabs %}
