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