{"library":"ccstate-babel","type":"library","category":null,"description":"A Babel preset for CCState v5.2.3 that provides Hot Module Reload support and automatic debug label injection for atoms. It adds a global cacheMap to make each atom a singleton under HMR, and automatically generates debug information for easier troubleshooting. The preset is configurable via options like projectRoot and customAtomNames (default: ['state', 'computed', 'command']). Designed as a build-time tool, it integrates seamlessly with Vite and other Babel-based setups. Differentiators include first-class HMR support and auto-labeling, inspired by Jotai's devtools.","language":"javascript","status":"active","version":"5.2.3","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ccstate-babel","imports":["import { preset } from 'ccstate-babel'","// babel.config.json\n\"presets\": [\"ccstate-babel/preset\"]","const react = require('@vitejs/plugin-react');\n...\nplugins: [react({ babel: { presets: ['ccstate-babel/preset'] } })]"]},{"cmd":"yarn add ccstate-babel","imports":[]},{"cmd":"pnpm add ccstate-babel","imports":[]}],"homepage":null,"github":"https://github.com/e7h4n/ccstate","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ccstate-babel","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ccstate-babel/compatibility"}}