We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bff0b5e commit 49c7a5dCopy full SHA for 49c7a5d
src/client/ui/functions/profiler.ts
@@ -27,6 +27,7 @@ function getName(callback: Callback): string {
27
export function profileAllComponents(): void {
28
const profiledComponents = new Map<FunctionComponent, FunctionComponent>();
29
30
+ // eslint-disable-next-line react/prefer-read-only-props -- We need to modify the props
31
React.createElement = ((...args: Parameters<typeof React.createElement>) => {
32
const [component] = args;
33
0 commit comments