Home > @lynx-js/react/testing-library > RenderOptions > enableMainThread

RenderOptions.enableMainThread property

Render your component in the main thread or not.

It is recommended to use this option only when you need to test the IFR behavior.

Signature:

enableMainThread?: boolean;
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.