The kind() method from @enact/core/kind is a factory for creating React components. It is designed to reduce mental load by providing a consistent structure for component creation, making components more readable and maintainable.
Instead of writing a standard Stateless Functional Component (SFC) or a Class component, you pass a configuration object to kind(). This object defines how props are transformed, how styles are applied, and how the component renders. The result is a standard React component that can be used anywhere in your application.
import kind from '@enact/core/kind';
export default kind({
render: (props) => <div {...props}>Hooray!</div>
});