jotai
Version:
👻 Primitive and flexible state management for React
6 lines (5 loc) • 300 B
TypeScript
import babel from '@babel/core';
import type { PluginObj } from '@babel/core';
import type { PluginOptions } from './utils';
/** @deprecated Use `jotai-babel/plugin-react-refresh` instead. */
export default function reactRefreshPlugin({ types: t }: typeof babel, options?: PluginOptions): PluginObj;