Skip to content

Commit cefa0c2

Browse files
lunaleapshoxyq
andauthored
Update docs/virtualview.md
Co-authored-by: Ruslan Lesiutin <28902667+hoxyq@users.noreply.github.com>
1 parent 25e0743 commit cefa0c2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/virtualview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ Blocking the main thread can provide a better user experience by preventing flas
4242
However, blocking the main thread also comes with tradeoffs. If an update operation, such as mounting the children of a `VirtualView`, takes too long to finish, it can now drop frames. Dropping more than a couple frames can lead to a worse user experience by making the app feel sluggish and non-responsive. Dropping too many frames may cause the operating system to display a modal indicating the app is not responsive, or it may even terminate your app!
4343

4444
:::warning
45-
DevTools currently does not support debugging JavaScript on the main thread. This means if you are debugging code called from `onModeChange` that is rendered on the main thread, your debugger may freeze.
45+
DevTools currently does not support debugging JavaScript on the main thread. This means if you are using breakpoints to debug code called from `onModeChange` that is executed on the main thread, your debugger may freeze.
46+
47+
Debugging all other parts of your JavaScript code should work as expected. We are working on closing this gap before releasing `VirtualView` to stable channels of React Native.
4648
:::
4749

4850

0 commit comments

Comments
 (0)