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

fix: Allow useGridDataProvider to use an inline function #3272

Merged
merged 4 commits into from
Feb 23, 2025

Conversation

Artur-
Copy link
Member

@Artur- Artur- commented Feb 21, 2025

Assumes the useGridDataProvider list function does not change so that the method can be defined inline without constantly reassigning the data provider and reloading all data

Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.97%. Comparing base (347b2ad) to head (de8f30e).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3272      +/-   ##
==========================================
+ Coverage   86.96%   86.97%   +0.01%     
==========================================
  Files         118      118              
  Lines        8278     8285       +7     
  Branches     1266     1267       +1     
==========================================
+ Hits         7199     7206       +7     
  Misses       1064     1064              
  Partials       15       15              
Flag Coverage Δ
unittests 86.97% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Artur- Artur- force-pushed the memoize-grid-list-func branch from 97c1879 to 14b3b50 Compare February 21, 2025 10:58
Assumes the useGridDataProvider list function does not change so that the method can be defined inline without constantly reassigning the data provider and reloading all data
@Artur- Artur- force-pushed the memoize-grid-list-func branch from 14b3b50 to fa570ed Compare February 21, 2025 11:02
@Artur- Artur- requested a review from taefi February 21, 2025 11:05
@Lodin Lodin merged commit f1dc8cb into main Feb 23, 2025
15 checks passed
@Lodin Lodin deleted the memoize-grid-list-func branch February 23, 2025 13:21
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Hilla 24.7.0.alpha15 and is also targeting the upcoming stable 24.7.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants