()
| 245 | const store = createExternalStore('value:initial'); |
| 246 | |
| 247 | function App() { |
| 248 | const value = useSyncExternalStore(store.subscribe, store.getState); |
| 249 | const [sameValue, setSameValue] = useState(value); |
| 250 | if (value !== sameValue) setSameValue(value); |
| 251 | return <Text text={value} />; |
| 252 | } |
| 253 | |
| 254 | const root = ReactNoop.createRoot(); |
| 255 | await act(() => { |
nothing calls this directly
no test coverage detected