19 lines
No EOL
337 B
JavaScript
19 lines
No EOL
337 B
JavaScript
import { useNoAlias } from "shared-runtime";
|
|
function Component(props) {
|
|
const item = {
|
|
a: props.a
|
|
};
|
|
const x = useNoAlias(item, () => {
|
|
props |> console.log(%);
|
|
}, [props.a]);
|
|
return [x, item];
|
|
}
|
|
export const FIXTURE_ENTRYPOINT = {
|
|
fn: Component,
|
|
params: [{
|
|
a: {
|
|
id: 42
|
|
}
|
|
}],
|
|
isComponent: true
|
|
}; |