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