{"library":"babel-plugin-transform-react-templates","type":"library","category":null,"description":"A Babel plugin (v1.0.0, no update cadence known) that transforms JSX files into self-registering templates by injecting a call to a global `register` function at the end of each module. It allows defining templates as standalone JSX files and importing them via a shared registry object. Differentiator: enables code-splitting of templates without explicit imports by using file-system conventions. Requires @babel/core >= 7.0.0. Deprecated in favor of modern patterns like dynamic imports and React.lazy.","language":"javascript","status":"deprecated","version":"1.0.0","tags":["javascript","babel-plugin"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install babel-plugin-transform-react-templates","imports":["module.exports = { plugins: [['transform-react-templates', options]] }"]},{"cmd":"yarn add babel-plugin-transform-react-templates","imports":[]},{"cmd":"pnpm add babel-plugin-transform-react-templates","imports":[]}],"homepage":"https://github.com/cgkineo/babel-plugin-transform-react-templates#readme","github":"https://github.com/cgkineo/babel-plugin-transform-react-templates","docs":null,"changelog":null,"pypi":null,"npm":"babel-plugin-transform-react-templates","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}