Babel preset for hyperdom, a React-like library with a custom JSX syntax for data binding. Current stable version is 2.0.0, released alongside hyperdom V2 which requires Babel 7. For Babel 6 use version 1.4.0. This preset transforms JSX binding expressions (e.g., `binding="item[n].method().name"`) into JavaScript function calls. It is specifically designed for hyperdom and not a general-purpose JSX preset.
npm install babel-preset-hyperdomVerified import paths — ran on the pinned version, not inferred.
Shows .babelrc configuration and transpilation of a binding expression.
Upgrade to Babel 7 or use version 1.4.0 with Babel 6.
Upgrade to 2.0.0 with Babel 7.
Ensure your JSX expressions use the binding attribute as shown in the documentation.
npm install --save-dev @babel/core
Use module.exports or require in CommonJS config, or reference preset as string 'hyperdom'.