You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the library https://github.com/welldone-software/why-did-you-render to log the reason for a component re-rendered. In order to get a functional component to be eligible for rendering, a boolean needs to be set on the function. When trying to do this from fsharp:
Components.SomeComponent?whyDidYouRender <-true
The function gets wrapped in the compiler plugin jsx transformation:
I'm trying to use the library https://github.com/welldone-software/why-did-you-render to log the reason for a component re-rendered. In order to get a functional component to be eligible for rendering, a boolean needs to be set on the function. When trying to do this from fsharp:
The function gets wrapped in the compiler plugin jsx transformation:
Is there any way to skip the transformation for cases like this, or do I need to use a modified version of the compiler plugin?
The text was updated successfully, but these errors were encountered: