5 lines
No EOL
141 B
JavaScript
5 lines
No EOL
141 B
JavaScript
function Component(props) {
|
|
const maybeMutable = new MaybeMutable();
|
|
let x = props.value;
|
|
return [x, maybeMutable |> maybeMutate(%)];
|
|
} |