useFactory: () => ({ state: createStateField(), }),
useFactory: (pluginKey, context) => ({ state: createStateField(pluginKey, context), }),