1.0.0 • Published 5 years ago
ember-functional-component v1.0.0
ember-functional-component
Attempting to use "pure functions" as components. Partially inspired by vuejs/rfcs#42.
Compatibility
- Ember.js v3.4 or above
- Ember CLI v3.4 or above
- Node.js v8 or above
Installation
ember install ember-functional-component
Usage
import { createComponent } from 'ember-functional-components';
export default createComponent(props => {
return {
fullName: `${props.first} ${props.last}`,
}
})
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.
1.0.0
5 years ago