()
| 91 | } |
| 92 | |
| 93 | const DynamicSpreadParent = () => { |
| 94 | const [props, setProps] = s.createSignal<any>({ |
| 95 | a: 1, |
| 96 | b: 2, |
| 97 | c: 3, |
| 98 | style: {width: '160px', height: '30px', background: '#fcb', color: 'black'}, |
| 99 | textContent: 'Before Change', |
| 100 | onclick: () => |
| 101 | setProps({ |
| 102 | style: {width: '160px', height: '30px', background: '#eba', color: 'black'}, |
| 103 | textContent: 'After Change', |
| 104 | d: 4, |
| 105 | e: 5, |
| 106 | }), |
| 107 | }) |
| 108 | const DynamicSpreadChild = (props: any) => <div {...props} /> |
| 109 | return <DynamicSpreadChild {...props()} /> |
| 110 | } |
| 111 | |
| 112 | const Broken: s.Component = () => { |
| 113 | throw new Error('Oh No') |
nothing calls this directly
no test coverage detected
searching dependent graphs…