({value})
| 2088 | |
| 2089 | it('useFormStatus is not activated if startTransition is not called', async () => { |
| 2090 | function Output({value}) { |
| 2091 | const {pending} = useFormStatus(); |
| 2092 | |
| 2093 | return ( |
| 2094 | <Text |
| 2095 | text={ |
| 2096 | pending |
| 2097 | ? 'Should be unreachable! This test should never activate the pending state.' |
| 2098 | : value |
| 2099 | } |
| 2100 | /> |
| 2101 | ); |
| 2102 | } |
| 2103 | |
| 2104 | function App({value}) { |
| 2105 | async function onSubmit(event) { |