Refine site sharing dialogs - #69
Conversation
|
React Doctor found 2 new issues in 2 files · 2 errors · score 76 / 100 (Needs work) · 3 fixed · vs Errors
Reviewed by React Doctor for commit |
| const handleInvite = async (event: React.FormEvent<HTMLFormElement>) => { | ||
| event.preventDefault(); | ||
| setSubmitting(true); | ||
| try { |
There was a problem hiding this comment.
React Doctor · react-hooks-js/todo (error)
This component misses React Compiler's automatic memoization & re-renders more than it should. Rewrite the flagged code so the compiler can optimize it.
Fix → Todo: (BuildHIR::lowerStatement) Handle TryStatement with a finalizer ('finally') clause
| const handleVisibilityChange = async (value: string) => { | ||
| if (value === visibility || updating) return; | ||
| setUpdating(true); | ||
| try { |
There was a problem hiding this comment.
React Doctor · react-hooks-js/todo (error)
This component misses React Compiler's automatic memoization & re-renders more than it should. Rewrite the flagged code so the compiler can optimize it.
Fix → Todo: (BuildHIR::lowerStatement) Handle TryStatement with a finalizer ('finally') clause
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary
Validation