# extendify/3.2.1/src/Draft/state/factory.js

Extendify, version 3.2.1. 6 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.2.1/code/src/Draft/state/factory.js
- Raw: https://pluginprobe.com/plugins/extendify/3.2.1/raw/src/Draft/state/factory.js
- Modified: 2024-04-03T12:03:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/3.2.1/code/src/Draft/state/factory.js#L10-L20`.

```javascript
import { create } from 'zustand';
import { devtools } from 'zustand/middleware';

export const pageState = (name, dataCb) =>
	create(devtools(dataCb, { name: `Extendify Draft ${name}` }));

```
