Performance difference dataset vs code dataset connection

Hey WIx Team,
Is there any performance improvement or decrease if i only use code to connect elements to the dataset instead of the gui based connection in a dynamic page?

I am thinking to replace all gui based connection as I also have some code based connection and I would like to make all connection same so that it is easy to debug or understand the code later. What do u guys suggest?
Thanks

I think there shouldn’t be any performance difference, as long as you use the data that was already returned from the dynamic pages router and avoid doing an unnecessary query to the DB.

The dynamicDataset on the page should be populated with the data already, so you can use wix-dataset - Velo API Reference - Wix.com to access the data.

Another option might be to use wix-window-frontend - Velo API Reference - Wix.com to get the data as returned by the router.

Happy coding :slight_smile: