Open
Description
As the title says. The implementation is simple:
exports.statelessComponent = function(displayName) {
return function(x) {
val y = function(props) { return x(props); };
y.displayName = displayName;
return y;
};
};
Can name it statelessComponent'
or something similar to avoid a breaking change.
Metadata
Metadata
Assignees
Labels
No labels