# WixPatternsEssentialsProvider

**Category:** Base Components/Providers

## API

### Overview

`WixPatternsEssentialsProvider` is the provider for Wix Patterns applications running with Wix Essentials (the modern SDK). It wraps your app with container context derived from the Essentials SDK modules.

```tsx
import { WixPatternsEssentialsProvider } from '@wix/patterns/essentials';
```

---

A React context provider for `Wix Patterns`'s essentials dependencies.

Every app must be wrapped with this provider in order to be able to render `Wix Patterns` components.

### Views

When using  the data for the [views feature](./?path=/story/features-display-views--views) will be saved via the user-preferences API.
If your app runs under a specific domain, you'll need too add a mapping to the `/user-preferences` endpoint of [app-settings-service artifact fryingpan dashboard](https://fryingpan.wixpress.com/services/com.wixpress.fed.app-settings-service)


---

### Example

```tsx
import React from 'react';
import { WixPatternsEssentialsProvider } from '@wix/patterns/essentials';

export default () => {
  return (
    <WixPatternsEssentialsProvider>
      <div>App Content Goes Here</div>
    </WixPatternsEssentialsProvider>
  );
};
```

