Skip to content
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

Refactor datepicker - Too many re-renders #30

Open
NaryLozano opened this issue Jan 9, 2025 · 0 comments
Open

Refactor datepicker - Too many re-renders #30

NaryLozano opened this issue Jan 9, 2025 · 0 comments
Labels
Func: Dashboard contracts Issues related to the contract management in dashboard Func: Offering Discovery Issues related to catalogue browsing Func: Offering Publication Issues related to offering publication Type: bug Something isn't working

Comments

@NaryLozano
Copy link
Contributor

The components Datepicker and FilterDatePicker use the function Handlechange to setValue.
To avoid the use of handlechange we tried to setValue directly to onChange.
But when passing setValue directly to onChange there are too many re-renders and the app crashes.
image

@xamcost xamcost added Func: Dashboard Overview Issues related to the offering dashboard overview Func: Offering Discovery Issues related to catalogue browsing Type: bug Something isn't working Func: Dashboard contracts Issues related to the contract management in dashboard Func: Offering Publication Issues related to offering publication and removed Func: Dashboard Overview Issues related to the offering dashboard overview labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Func: Dashboard contracts Issues related to the contract management in dashboard Func: Offering Discovery Issues related to catalogue browsing Func: Offering Publication Issues related to offering publication Type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants