Translation
import { render } from 'hybrids'; { render: () => { ... } } // Translates to: { render: render(() => {...}) }{ propertyName: () => {...} } // Translates to: { propertyName: { get: () => {...} } }import { property } from 'hybrids'; // String, Number, Boolean, ... { propertyName: 'text' } // Translates to: { propertyName: property('text') } // Array instance { propertyName: ['one', 'two'] } // Translates to: { propertyName: property(['one', 'two']) }
Last updated
Was this helpful?