The combination of API routes and data loading functions - SolidJS