-
Couldn't load subscription status.
- Fork 87
Open
Description
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 <- trueThe function gets wrapped in the compiler plugin jsx transformation:
(() => createElement(Components_SomeComponent, null)).whyDidYouRender = true;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?
Metadata
Metadata
Assignees
Labels
No labels