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(web): combine api and serverApi #1833

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

michelheusschen
Copy link
Contributor

Combines the seperate exports for api and serverApi. This allows for loading page data using a single +page.ts file in the future for improved SSR.

@vercel
Copy link

vercel bot commented Feb 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
immich ⬜️ Ignored (Inspect) Feb 22, 2023 at 2:45PM (UTC)

@alextran1502
Copy link
Contributor

This allows for loading page data using a single +page.ts file in the future for improved SSR.

Do you plan on checking the route and providing the required data for each route in +page.ts?

@alextran1502 alextran1502 merged commit 5c86e13 into main Feb 23, 2023
@alextran1502 alextran1502 deleted the refactor/web-combine-api-serverapi branch February 23, 2023 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants