In vaadin 24 , i am facing one issue related to rendering of page is slow due to Twincolselect.setItems , where i have only 900 records to set . but it was much faster in 23 version .
I tried to set it with asynchronous call ,where page is getting rendered faster but after some time data come in the Twincolselect which is not right. Also checked for Lit Render but it specifically works for Grid and select components . Also, tried to go with Lazy loading where on scroll data get load but TwinccolSelect doesn't have this eventListerner and in few documents it is mentioned that Lazy loading is not supported with Twincolselect.
This is how my code looks like
TwinColSelect<Data> twinCol;
List<Data> data = databaseService.findAll();
data.sort(Comparator.comparing(Data::getName));
this.layout.twinCol.setItems(data); //it is taking too much time to render on page .