-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FRE-1161] remove debounce to simplify code and clear inputs on route complete or reload #402
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I stand by the fact that we shouldn't get rid of the debouncing, I'm fine with re-implementing in another way but not removing it
Just want to get this up as an option as it does fix the original issue. Tried 4-5 debouncing alternatives and non were satisfactory. You can add the |
@@ -89,16 +93,28 @@ const WidgetWithoutNiceModalProvider = (props: WidgetProps) => { | |||
setTheme(mergedTheme); | |||
}, [setSkipClientConfig, mergedSkipClientConfig, setTheme, mergedTheme]); | |||
|
|||
useLayoutEffect(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.