()
| 678 | } |
| 679 | |
| 680 | function App() { |
| 681 | const [state, setState] = useState('Initial'); |
| 682 | return ( |
| 683 | <form action={() => setState('Updated')} ref={formRef}> |
| 684 | <Status /> |
| 685 | <Suspense fallback={<Text text="Loading..." />}> |
| 686 | <AsyncText text={state} /> |
| 687 | </Suspense> |
| 688 | </form> |
| 689 | ); |
| 690 | } |
| 691 | |
| 692 | const root = ReactDOMClient.createRoot(container); |
| 693 | await resolveText('Initial'); |
nothing calls this directly
no test coverage detected